Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there any way to pass a variable to a form apart from using global variables?

apart form global pass variables
0
Posted

Is there any way to pass a variable to a form apart from using global variables?

0

The standard workaround is to put an invisible text box (or caption or any other control that suits your use.) on the target form and access it by Form.textbox = “value”. Then you can use the Change event of that control to do anything you want in that form. Also, check out the .Tag property which is a “what-you-want” property where you can hook any string you want onto a control. This property can also be accessed from other modules. Commented by :shabir_aspnet@yahoo.co.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123