Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent duplicate open forms
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00019744
Message ID:
00019750
Views:
32
>This msg is actually for:
>Bruce Campbell, Mike Fournier
>
>I guess I should have mentioned that I was DOing my
>form from a menu. So I have a form called Metadata.
>I was executing the form from an ON SELECTION in my
>menu - DO FORM "METADATA".
>Bruce:
>Thanks for the WEXIST() idea, works great, but where to put it?
>
>Mike:
>Although I had trouble getting my app to recognize the value of ISNULL('metadata'), the menu SKIP FOR was
>a great simple idea!
>
>So a combo of your two ideas was the ticket:
>
>define bar 1 of toolbox prompt "\>skip for wexist('metadata')
>on selection bar 1 of toolbox do form 'metadata'
>
>Thanks,
>John

Don't use wexist() for this. Althought is working well, you can have problems with it on long term (because your app will evoluate and things are changing... ask Michel, he knows it very well). I also had this problem and I switched from wexist() to isnull(). The good way of doing things is ISNULL().

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform