P
pfm721
I am trying to set up a form to run a parameter query. On the form
frmAPSSearch the user will enter a 5 digit code in the text box
txtFilterCPTCode, then select a state from the first combo box
cboFilterState, finally a county from the last combo box cboFilterLocality.
Then I have a command button to run the parameter query. When the query runs
I get no results.
The query is set up to reference two tables. tblAPCLocality08, and
tblAPCPrices08. In the query there are three fields I would like to set are
parameters (this might be the problem as don't even know if access will
accept that.) Field HCPCS has this code in it
Forms![frmAPCSearch]![txtFilterCPTCode]. When I use only that parameter the
query runs fine. The secod field is State with this code
Forms![frmAPCSearch]![cboFilterState] . The last field is Locality with this
code
Forms![frmAPCSearch]![cboFilterLocality] . When either of the last two is in
the query it does not return any results.
Any suggestions on what I might be doing wrong or a more efficient way to do
this?
Thanks in advance..
frmAPSSearch the user will enter a 5 digit code in the text box
txtFilterCPTCode, then select a state from the first combo box
cboFilterState, finally a county from the last combo box cboFilterLocality.
Then I have a command button to run the parameter query. When the query runs
I get no results.
The query is set up to reference two tables. tblAPCLocality08, and
tblAPCPrices08. In the query there are three fields I would like to set are
parameters (this might be the problem as don't even know if access will
accept that.) Field HCPCS has this code in it
Forms![frmAPCSearch]![txtFilterCPTCode]. When I use only that parameter the
query runs fine. The secod field is State with this code
Forms![frmAPCSearch]![cboFilterState] . The last field is Locality with this
code
Forms![frmAPCSearch]![cboFilterLocality] . When either of the last two is in
the query it does not return any results.
Any suggestions on what I might be doing wrong or a more efficient way to do
this?
Thanks in advance..