Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting of exact
Message
From
07/09/2001 18:40:40
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00554081
Message ID:
00554153
Views:
13
>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.

In addition to JCF's comments, you can use "==" to force an exact comparison where needed, regardless of the setting of SET EXACT. According to the docs it is not Rushmore optimizable, however.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform