Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access 97 programming
Message
 
To
22/10/2002 16:07:03
General information
Forum:
Visual Basic
Category:
VBA
Miscellaneous
Thread ID:
00714071
Message ID:
00714092
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform