Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping for error 1925
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00018209
Message ID:
00018221
Views:
44
>>I have been unable to resolve an *Unknown member* error. I wish to create a routine to trap this error and ignore it. The error is referencing my oToolbar property in my main nonvisual class. This property is initialized to .NULL. in the application and given a name only when one of my forms displayed, then reset to .NULL. upon release of the form. (if only one is displayed) I then go to my login screen to login as a different user and after it displays my error pops up, I keep clicking OK and it eventually goes away. If I were to exit my login screen and reactivate it the error does not exist. If I were to login as a different user, activate one of my forms, close it go to login again the vicious circle begins all over again. Does anybody have any suggestions on how to trap this error and ignore it? Any help would be appreciated.
>>
>>TIA
>
>Been there & done that. Check your type() of the object. I found some strange things. Is an object a logical or still an object if you reset it to null. Look into IsNull(oApp...) and Type("oApp...). I don't have the exact code fix handy, but if you need more details drop me a line. I do remember that normal logic did not work for what that is worth. htwh Steve...

The tricky part being that if a variable= .null. , ? = .null. will return .f.. You _have_ to use the isNull function.

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform