troubleshooting Question

Update a form's data output by changing the query to which it's bound without closing/reopening form

Avatar of Wadley1957
Wadley1957 asked on
Microsoft Access
9 Comments3 Solutions358 ViewsLast Modified:
Hi. I have a form "frmHST"  that opens from another form. frmHST's source data is a Select Query generated by user field selections on that source form where a little VBA code organizes into a QueryDef, providing the data set for frmHST which it then opens. While still open, I would like the user to have the option of generating a new queryDef from within frmHST and regenerate the form based on these new data. The code for revising the query is easy. How do I cause frmHST to display data based on the revised query. Refresh? Requery? Thanks

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros