General information
Category:
Coding, syntax & commands
>It says VARIABLE. What you are looking for is a PROPERTY that belongs to an OBJECT which does not exist.
The object is an application object. So it does exist. The property is and array that does exist and at times has other elements. But if I check for an array element that holds reference to a form that does not exist --- error. It should return 'U'.
I think that what Bruce found makes sense, but does it mean that you are checking for "ActiveForm.Something" where "ActiveForm" is the _screen object or that the form you are type checking isn't the "Active" form? And why isn't it in my helpfile :-(
>Check for the object reference first, then check if its property exists. It may be even more correct to use PEMSTSTAUS for that.
Actually, the type() function works just fine, which is why I thought that vartype() would work.
Note: vartype() works if the form was instantiated.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only