General information
Category:
Coding, syntax & commands
Title:
How to use an oApp object
I have an application object which I have a routine in to do screen validation
In my screen , in the valid of my Save Button I do
oApp.MyValidate
In oApp.MyValidate i have code which checks form properties
e.g. If ThisForm.Myproperty = 'Abc' .....
but i get a 'object is not contained in a form' error message
I had this code originally in a Form Base Clas method (and it worked fine) but took it out and put it into my Application object to make it more OOP, so that I could use the same code from other parts of the application.
Are there certain things you cant do from an App object or have I missed
something in the coding.
Regards,
Gerard
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