Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check for empty field
Message
 
 
À
11/12/2000 21:16:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00451997
Message ID:
00452059
Vues:
19
EXEs run in the default FoxPro SET environment, your development system runs in a SET enviroment that you define with Tools/Options settings, your config.fpw.

You probably have a difference between the setting of EXACT between your runtime and devtime environment.

Your main prg should set the environment to the precise state that you want it to be. Remember that private data session forms run with the VFP default settings for each SET, see the help topic SET DATASESSION for more information.

>In a form, I have the formula to check a field X of a table --- if X = "" ...
>It works fine when I run the form in VFP. But it has wrong operant error after I complie it to an exe file.
>Finally I change it to if empty(X) ... then it works fine in both VFP and in its exe file. Does it mean we should use the empty() instead of = "" if we want to check empty field?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform