My form has a few buttons that, when pressed, open up new forms. The new forms have options for filtering a subform on the first form. How can I pass parameters from the second form back to the first?
The OpenArgs of the DoCmd function allows you to pass data to the form being opened. This is akin to the Tag property of controls. Your code can inspect the Me.OpenArgs for the parameters it needs to do it's job.
I'm writing a form that has a few pull down menus and a bunch of data.
After a user makes a selection in a pull down menu, a new form is opened
that asks for more user input. Based on the user input, I need to apply
filters to the first form. I think it would be most beneficial to me if
I could pass the information needed to apply the filter back to the
original form, since I may need to use it later. The original form
stays open while the second one is being manipulated by the user.
Currently, I'm opening the second form as an acDialog:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.