>I want to execute class's function within a report called from that class.
>
>I am calling this on Page Footer Entry:
>IF PEMSTATUS(ThisForm, 'mvalidatebarcode', 5) ThisForm.mValidateBarcode(ufdcode) ENDIF
>
>but the report fails. What's wrong?
>
>Thanks
Try to use IIF instead in the Expression.
E.g.
IIF(pemstatus(...), thisform.mValidateBarCode(udfCode),"")
it should return the same value as your method.
If it's not broken, fix it until it is.
My Blog