>>>>change to OR operator and NVL() is useless.
>>>
>>>or just use the = command
>>>
>>>
>>>=_vfp.SetVar('Var1', "Some value"), _vfp.SetVar('Var2', 5)
>>>
>>
>>Are you sure you can use it in the OnExit expression in the report?
>
>Never tried, but it is a valid foxpro command so I would guess it works.
I'm pretty sure it will not work.
If it's not broken, fix it until it is.
My Blog