G
Guest
I've set up a form which searches using a dynamic query. I have 26 potential
text fields that can be entered in any combination to search...
My problem arises when I've been asked to add a check box to my search to
further single out records via yes/no criteria in conjunction with the
initial 26 field text search.
How on earth would I go about coding this?
Here is a sample of my text code...
If Not IsNull(Me![LOI1]) Then
where = where & " AND [LOI] between " + _
Me![LOI] + " AND " & Me![LOI1] & ""
Else
where = where & " AND [LOI]= " + Me![LOI] + ""
End If
Thanks in Advance.
Chris
text fields that can be entered in any combination to search...
My problem arises when I've been asked to add a check box to my search to
further single out records via yes/no criteria in conjunction with the
initial 26 field text search.
How on earth would I go about coding this?
Here is a sample of my text code...
If Not IsNull(Me![LOI1]) Then
where = where & " AND [LOI] between " + _
Me![LOI] + " AND " & Me![LOI1] & ""
Else
where = where & " AND [LOI]= " + Me![LOI] + ""
End If
Thanks in Advance.
Chris