Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Hello Peter.
Thisform.ActiveControl.Name always evaluates to 'expression can not be evaluated',
I do not understand the problem. If there is no ActiveControl on the form, the TYPE() function should return 'U".
so is there another way to run through all the objects on a form (class) and do what you're doing?
Where are you calling this code from? If this code is in a form method, thisform will work just fine. If it is in a toolbar method, then you need to refer to _Screen.ActiveForm.ActiveControl.
Précédent
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