>I am trying ot put a condition on a print form. But there's a limit on the size of the expression allowed. so I am attempting ot put the same type of condition in a case statement within a class method and pass the value. but when it attempts to run the report, it does not recognize the oApp.FormType() class method.
>
>Any ideas?
Was your oApp object declared like public variable
Try to put somewhere in the report the following expression
type('oApp') and pemstatus(oApp,'FormType',5) to see, whet is visible incide your report
Bext wishes, Vladimir
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.