P
Pierre
I have a code that I had some help putting together. I would like to modify
it to allow me to search 2 fields and not just the one its searches now.
Brief overview is that it currently searches for a WORD in a field called
[Definition]. I would also like it to look in a field called [Cat Codes] if
a number code (like 99200) is entered.
Code being used now:
Private Sub Text49_AfterUpdate()
Me.[Cat Codes subform].Form.Filter = "Definition Like ""*" & Me.Text49 & "*"""
Me.[Cat Codes subform].Form.FilterOn = True
End Sub
it to allow me to search 2 fields and not just the one its searches now.
Brief overview is that it currently searches for a WORD in a field called
[Definition]. I would also like it to look in a field called [Cat Codes] if
a number code (like 99200) is entered.
Code being used now:
Private Sub Text49_AfterUpdate()
Me.[Cat Codes subform].Form.Filter = "Definition Like ""*" & Me.Text49 & "*"""
Me.[Cat Codes subform].Form.FilterOn = True
End Sub