I'm having a brain cramp today. What is the deference between using a query and a filter? Which would be faster and easier?
Here are two statements basically the same {I think}. BTW- Rot = "B-Days"
CODE
10 stWhere = "position IN ('custody','sgt','lieutenant','captain','other')" & _
"and shift IN ('B-Days','Day Shift')"
100 Me.Filter = "position IN ('custody','sgt','lieutenant','captain') and shift IN ('" & Rot & "','day shift')"
110 Me.FilterOn = True
"and shift IN ('B-Days','Day Shift')"
100 Me.Filter = "position IN ('custody','sgt','lieutenant','captain') and shift IN ('" & Rot & "','day shift')"
110 Me.FilterOn = True
If the query is faster then I take it the "stWhere" would go in the "Record Source"? If not then where would I put it?
Thanks