billdksn
Posts: 17
|
| Posted: 02/16/2005, 1:04 PM |
|
In my database I have a field "LinkAddr" that contains an absolute http address. I also have a field "Name" that is a text field.
What is the best way to:
1. Just display "Name" if the "LinkAddr" is empty
or
2. Display "LinkAddr" if "LinkAddr" is not empty.
I've tried using Before Show event and making the fields visible or not based on the contents of "LinkAddr", but haven't had any luck.
Ideas gladly accepted!
|
 |
 |
Anothersledhead
Posts: 44
|
| Posted: 02/16/2005, 6:58 PM |
|
Have you set the link properties to extended HTML? If not you need to right click on the link and select the edit link layout option. Once you have changed the link layout to extended HTML your code should work. If this doesn't work post your code for us to look at.
Hope this helps
|
 |
 |
Nicole
Posts: 586
|
| Posted: 02/17/2005, 2:47 AM |
|
Hello,
Just a note. Even if you enabled extended HTML for a Link it is not enough because Label control doesn’t have the Edit Layout menu. You need to surround a Label with HTML controls directly in HTML code
<!-- BEGIN Label MyLabel -->
{MyLabel}
<!-- END Label MyLabel -->
Of course use real label name
_________________
Regards,
Nicole |
 |
 |