wingforward
Registered User.
- Local time
- Today, 13:28
- Joined
- Nov 24, 2009
- Messages
- 27
I have a main form, frmMemberships referencing a subform fsubSearch. The container for the subform is named subSearch. On fsubSearch is a control, txtOrgIDSearch. txtOrgIDSearch is an unbound combo box that users can select a Organization from.
I am trying to reference the control in the query source for frmMemberships, but I keep getting an error. The syntax is [Me].[subSearch].[Form].[txtOrgIDSearch].
The query is supposed to filter the main form to the Organization chosen. It works when the combo box is on the main form directly (and change the query to [Me].[txtOrgIDSearch]), but not when I put it on the subform.
I've double checked the names of the subform control and the text box control, but they are correct.
What am I missing?
Thanks from a first time poster.
I am trying to reference the control in the query source for frmMemberships, but I keep getting an error. The syntax is [Me].[subSearch].[Form].[txtOrgIDSearch].
The query is supposed to filter the main form to the Organization chosen. It works when the combo box is on the main form directly (and change the query to [Me].[txtOrgIDSearch]), but not when I put it on the subform.
I've double checked the names of the subform control and the text box control, but they are correct.
What am I missing?
Thanks from a first time poster.