Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement