And just to make matters even more complicated...
>
>IF VARTYPE(oMyObject) = "O" && It's Allliiive....
>ELSE && It ain't no object or it's a daid object
>ENDIF
>
I've found that if oMyObject is not instantiated within the current program or form then IF VARTYPE(oMyObject) = "O" does not work. I've had to resort to IF TYPE("oMyObject") = "O" AND !ISNULL("oMyObject") when testing for external objects.
Regards
Paul
Previous
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