Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding to a var
Message
From
04/01/2011 05:50:12
 
 
To
03/01/2011 15:57:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01494482
Message ID:
01494565
Views:
51
>>You can do this using NVL and AND technique. I forgot the exact details and got distracted. I'll search a bit later. Or you can use Hilmar's suggestion.
>
>If there are but a few variables, I like your suggestion better - if you manage to make it work.
>
>I see that _vfp.setvar() returns a null, so I guess the syntax would have to be something like this:
>
>
>nvl(_vfp.Setvar("Var1", "Some value"), .T.) AND nvl(_vfp.Setvar("Var2", 5), .T.) AND ...
>
change to OR operator and NVL() is useless.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform