Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word and Bookmarks
Message
From
15/03/2000 11:27:24
 
 
To
15/03/2000 11:12:26
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00344738
Message ID:
00345898
Views:
16
>Jose,
>
>How can I work with the bookmarks if the field is empty?
>In other words, if I have a bookmark inserted, 'hazard' and
>it is empty, I'd like it to say 'None'. Also, there is a
>situation where I could have three or more 'hazards', if I
>just insert the 3 possible bookmarks, I'd like the first to
>be 'None' and the second and third bookmark to be empty or
>show nothing. Follow me?
>

PMFJI, but I had the same problem a few months back. The code I used to determine empty fields was:

IF EMPTY(hazard)
.APPLICATION.SELECTION.DELETE
ELSE
.bookmarks("hazard").RANGE.TEXT = "none"
ENDIF

Hope this helps!
"In three words I can sum up everything I've learned about life : it goes on." - R. Frost

Amanda Brown
Supervisor/Programmer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform