P
pfm721
I have modified the Allen Browne search form to filter the results of a
parameter query. The query gets its paramters from some of the fields on the
search form. It works but only if I type in the Locality parameter. For
Example:
User Enters
5 digit code in txtFilterCPTCode
Selects State from cboFilterState
Selects County from cboFilterLocality
The query uses the input from those three boxes as the paramters.
The query works great. However after entering a value in those three places,
when you select the filter button on the form I get a Dialog box that pops up
asking me to enter a parameter value for Locality. I can't figure out why it
is doing this as I selected it in my last combo box. If I enter the Locality
by hand in the box the form works. If I click cancel it asks me to Debug and
takes me to Me.Filter = strWhere which is highlighted.
The immediate window has this in it:
([HCPCS Code] = "45378") AND ([State] = "GA") AND ([Locality] = "Albany")
Looking at that it looks like it should have worked.
Thanks in Advance
parameter query. The query gets its paramters from some of the fields on the
search form. It works but only if I type in the Locality parameter. For
Example:
User Enters
5 digit code in txtFilterCPTCode
Selects State from cboFilterState
Selects County from cboFilterLocality
The query uses the input from those three boxes as the paramters.
The query works great. However after entering a value in those three places,
when you select the filter button on the form I get a Dialog box that pops up
asking me to enter a parameter value for Locality. I can't figure out why it
is doing this as I selected it in my last combo box. If I enter the Locality
by hand in the box the form works. If I click cancel it asks me to Debug and
takes me to Me.Filter = strWhere which is highlighted.
The immediate window has this in it:
([HCPCS Code] = "45378") AND ([State] = "GA") AND ([Locality] = "Albany")
Looking at that it looks like it should have worked.
Thanks in Advance