paddleman44
New member
- Local time
- Today, 14:11
- Joined
- Mar 2, 2007
- Messages
- 7
Good Day.
I will apologize in advance for yet another thread on this issue but, despite many searches and attempts, I have yet to solve my problem. So....
I have two (bound) combo boxes on a subform. I want to limit the picks of the second based on the first. I have opted for the OnChange ....requrery route to have the second combo query.
...here is the thing. I have designed my subform, and when I test it as a standalone form (i.e. not part of the mainform) the boxes works exactly as desired, but only when I reference cbo1 as: Forms!sfrmName.cbo1 --- it does not work if I use Me!cbo1 in the parameter line of the query for the Row Source of cbo2.
Then, when I put the form into the mainfrm, the query will not work. I have tried many ways to reference:
Me!cbo1
Forms!sfrmName.cbo1
Forms!frmMain.sfrmName.Form!cbo1
..I am also familiar with www.mvps.orgs primer on how to reference controls.
What am I missing????????
All help is appreciated.
DJ
I will apologize in advance for yet another thread on this issue but, despite many searches and attempts, I have yet to solve my problem. So....
I have two (bound) combo boxes on a subform. I want to limit the picks of the second based on the first. I have opted for the OnChange ....requrery route to have the second combo query.
...here is the thing. I have designed my subform, and when I test it as a standalone form (i.e. not part of the mainform) the boxes works exactly as desired, but only when I reference cbo1 as: Forms!sfrmName.cbo1 --- it does not work if I use Me!cbo1 in the parameter line of the query for the Row Source of cbo2.
Then, when I put the form into the mainfrm, the query will not work. I have tried many ways to reference:
Me!cbo1
Forms!sfrmName.cbo1
Forms!frmMain.sfrmName.Form!cbo1
..I am also familiar with www.mvps.orgs primer on how to reference controls.
What am I missing????????
All help is appreciated.
DJ