WindSailor
Registered User.
- Local time
- Today, 00:16
- Joined
- Oct 29, 2003
- Messages
- 235
I have a main form which has a combo box and four tabs containing subforms off of built forms of queries.
The user is to select a value from the combo box on the main form and then the subforms should refresh using that criterion from the combo box, and he or she should just be able to tab through the four different forms using the tabs located on the main form and enter the their data on those specific subforms.
How do I make the subforms refresh with the criteria from the main combo box?
Originally I had used the criteria from the combo box to open a form from a query (one at a time), using…
stDocName = “ABCD”
DoCmd.OpenForm stDocName, , , stLinkCriteria
Which worked fine, but opening and closing or minimizing and maximizing individual forms was a pain, so I tried using them as subforms on a main form and just tab through them, but I can’t get it to work properly...
The user is to select a value from the combo box on the main form and then the subforms should refresh using that criterion from the combo box, and he or she should just be able to tab through the four different forms using the tabs located on the main form and enter the their data on those specific subforms.
How do I make the subforms refresh with the criteria from the main combo box?
Originally I had used the criteria from the combo box to open a form from a query (one at a time), using…
stDocName = “ABCD”
DoCmd.OpenForm stDocName, , , stLinkCriteria
Which worked fine, but opening and closing or minimizing and maximizing individual forms was a pain, so I tried using them as subforms on a main form and just tab through them, but I can’t get it to work properly...