A
Afrosheen via AccessMonster.com
I have a table with at least three fields that I need to create a filter for.
Here is the code:
strWhere = "tblTaps.WorkPlan=""" & Me.Combo149 & _
""" AND tblTaps.Archive=False" & _
" AND tblMain.Supervisor=""" & Me.cboloc & """"
What I want to know is if there can be a an "or" put in. for example
strWhere = "tblTaps.WorkPlan=""" & Me.Combo149 & _
""" AND tblTaps.Archive=False" & _
" AND tblMain.Supervisor=""" & Me.cboloc & """" & -
"or tblMain.UnitMan = """ & me.cboloc & """ & _
" or tblMain.AssistMan = """ & me.cboloc& """
Thanks for your help.
Here is the code:
strWhere = "tblTaps.WorkPlan=""" & Me.Combo149 & _
""" AND tblTaps.Archive=False" & _
" AND tblMain.Supervisor=""" & Me.cboloc & """"
What I want to know is if there can be a an "or" put in. for example
strWhere = "tblTaps.WorkPlan=""" & Me.Combo149 & _
""" AND tblTaps.Archive=False" & _
" AND tblMain.Supervisor=""" & Me.cboloc & """" & -
"or tblMain.UnitMan = """ & me.cboloc & """ & _
" or tblMain.AssistMan = """ & me.cboloc& """
Thanks for your help.