PemStatus(oform.myObject,"myMethod",5))First, you have to verify that myObject exists, which you can do with vartype
If Vartype(oform.myObject)="O" ; and PEMStatus(oform.myObject,"myMethod",5) ** it exists EndIf EndIf>Thanks, but it does not work if the method does not exist.