Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting of exact
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00554081
Message ID:
00554190
Vues:
9
>Situation: datbase='1VS', set exact =off
>
>in my form I test for [if datbase='1'] and it is .F. but I susp and test it manually at the command prompt and it evaluates to .T. .
>How can this be possible? I now have to say [[if datbase='1VS'] instead.

To make your code SET EXACT independent you can just use LEFT function
IF <b>LEFT</b>(datbase,1)='1'
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform