G
Guest
I have an unboound navigation form -- a tab control -- (frmMainTab) that has
a subform (sfrmTab2) on one of its tabs, that is itself a tab control
(TabCtrl2). On one of it's tabs (StateReports, index #2), I have placed a
combo box (cboSelectState) to select a US state. I want to put a criteria
statement into several queries that will pull that state name, and allow the
users to generate reports listed on the StateReports tab.
I've tried Forms![frmMainTab]![sfrmTab2]![cboSelectState]
Forms![frmMainTab]![TabCtrl2]!Forms![cboSelectState]
and several other varations. The first one brings up an empty report with an
"Error" showing where the state name appears, the other variations generate a
parameter message. If I type a state name in the parameter box, the report
does appear, with the correct information. I've searched, but have not found
the answer to my question. I have a feeling that the problem is something to
do with the tab control. Any help you can give would be appreciated.
a subform (sfrmTab2) on one of its tabs, that is itself a tab control
(TabCtrl2). On one of it's tabs (StateReports, index #2), I have placed a
combo box (cboSelectState) to select a US state. I want to put a criteria
statement into several queries that will pull that state name, and allow the
users to generate reports listed on the StateReports tab.
I've tried Forms![frmMainTab]![sfrmTab2]![cboSelectState]
Forms![frmMainTab]![TabCtrl2]!Forms![cboSelectState]
and several other varations. The first one brings up an empty report with an
"Error" showing where the state name appears, the other variations generate a
parameter message. If I type a state name in the parameter box, the report
does appear, with the correct information. I've searched, but have not found
the answer to my question. I have a feeling that the problem is something to
do with the tab control. Any help you can give would be appreciated.