Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Tommy,
>How do I get a count of the objects in a form then?
There is a property on the form called Controls that is an array. If you want to get the number of objects on a form, you can use ALEN() to return the number of rows in the array.
In addition, if you have containers on the form you would probably want to look at thier Controls property also to get a more accurate count.
HTH,
Brian
Précédent
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