Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing to NULL
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01243011
Message ID:
01243027
Vues:
32
>I see. But the following also works (unless you see something I am missing):
>
>
>IF (!ISNULL(EVALUATE(FIELD(i))) AND ISNULL(OLDVAL(FIELD
>(i), "V_V_MYTABLE"))) OR ;
>(ISNULL(EVALUATE(FIELD(i))) AND !ISNULL(OLDVAL(FIELD
>(i), "V_V_MYTABLE"))) OR ;
>!(EVALUATE(FIELD(i)) == OLDVAL(FIELD(i), "V_V_MYTABLE"))
>
>
>Thank you.

Yes, this seems to be correct.

The version of code I referenced is a little bit longer but more self-explanatory, IMO.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform