A
allie357
I am trying to build a search form
Yes, I thought about using the wizard for the combos, however...
I have a form with 8 combo boxes total that are similar in design. I
wanted the functionality where the user could enter part of a name and
still get a result in the search form.
In one example the combo box that has 2 columns, that shows the
policy_ID and the corresponding policy name so it easier for the user
to pick a choice. I need to be able to search the entire contents of
the combo (or just the first column) containing the Policy_ID to add it
to the filter? Is this possible?
This is my code so far:
If Me![cboPolicy] <> "" Then
sCriteria = sCriteria & " AND qrySearchCriteriaSub.Policy_ID Like """ &
Policy & "*"""
Yes, I thought about using the wizard for the combos, however...
I have a form with 8 combo boxes total that are similar in design. I
wanted the functionality where the user could enter part of a name and
still get a result in the search form.
In one example the combo box that has 2 columns, that shows the
policy_ID and the corresponding policy name so it easier for the user
to pick a choice. I need to be able to search the entire contents of
the combo (or just the first column) containing the Policy_ID to add it
to the filter? Is this possible?
This is my code so far:
If Me![cboPolicy] <> "" Then
sCriteria = sCriteria & " AND qrySearchCriteriaSub.Policy_ID Like """ &
Policy & "*"""