Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent duplicate open forms
Message
De
08/02/1997 18:30:03
 
 
À
08/02/1997 18:21:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00019744
Message ID:
00019760
Vues:
39
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform