M
michelleumich
Hi,
I am working with a continuous search form that uses a filter. The
form it is based off of provides a SQL example with a combo box, but
only gives code allowing for the combo box to have three values. My
combo box has over two hundred. How do I set up the code to filter
with whatever I select in my combo box but still make sure to return
results even if no scholarship name is selected? Here is the code I
have now:
If Me.cboProgram = -1 Then
strWhere = strWhere & "([Program] = True) AND "
ElseIf Me.Program = 0 Then
strWhere = strWhere & "([Program] = False) AND "
End If
Thanks in advance,
M
I am working with a continuous search form that uses a filter. The
form it is based off of provides a SQL example with a combo box, but
only gives code allowing for the combo box to have three values. My
combo box has over two hundred. How do I set up the code to filter
with whatever I select in my combo box but still make sure to return
results even if no scholarship name is selected? Here is the code I
have now:
If Me.cboProgram = -1 Then
strWhere = strWhere & "([Program] = True) AND "
ElseIf Me.Program = 0 Then
strWhere = strWhere & "([Program] = False) AND "
End If
Thanks in advance,
M