Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access 97 programming
Message
 
À
22/10/2002 16:07:03
Information générale
Forum:
Visual Basic
Catégorie:
VBA
Divers
Thread ID:
00714071
Message ID:
00714092
Vues:
18
>I have a form call it FormA which has command buttoms calling different reports. I assigned each command button's TAG property "report1", "report2" and so on... FormB calls FormA and I want to be able to reference FormA's TAG in order to find out which command button was click - in other words which report needs to be run. How do I reference FormA's command button's Tag from FormB.
>
>I would appreciate any help I can get.
>
>Thanks,
>
>Chris

Hi Chris,

Forms("FormA").cmdReport25.Tag

Is that what you are asking?
Any form also has property TAG, so you can use it for your convenience: Forms("FormA").Tag

HTH, Igor
Igor Gelin
Database Developer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform