Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding to a var
Message
From
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:
01494494
Views:
49
>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 ...
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform