>>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 ...
>
I found my old message
Re: Summary vs group footer Thread #
1243318 Message #
1243350Your way should work as well.
If it's not broken, fix it until it is.
My Blog