Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent duplicate open forms
Message
From
08/02/1997 18:30:03
 
 
To
08/02/1997 18:21:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00019744
Message ID:
00019760
Views:
37
>>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().
>
>Yes, good decision, while talking about that, I just sent this strange behavior about the last week thread to a Microsoft person requesting more information about this. Lets see if this is gonna be back as it was in 3 in version 6. :)

Good idea! :) This way, we will have alternative behaviors with each FoxPro version. So, we can write code like that:

if mod( FoxVersion(), 2) = 0
* Code for even versions
else
* Code for odd versions
endif

Althought, it will not work since MS versions are random generated. :)

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform