>>>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.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges