I am trying to apply the following filter to my form:
but I'm getting a type mismatch error.
I'm using the .Column(1) property to return the text value of the combo box rather than the ID, basically because the ID value didn't work either.
Can anyone give me the proper syntax for the above statement, or can I even link the two filter statements together using OR?
Thanks
Edit: I just realized that since [ReviewerName] actually stores the FK from the Reviewer table I would need to filter by the ID column in t he combobox.
Code:
Me.Filter = "[ClaimNum] = '*" & Me.txtSearchClaim & "*'" OR "[ReviewerName] =" & Me.cboSearchReviewer.Column(1)
I'm using the .Column(1) property to return the text value of the combo box rather than the ID, basically because the ID value didn't work either.
Can anyone give me the proper syntax for the above statement, or can I even link the two filter statements together using OR?
Thanks
Edit: I just realized that since [ReviewerName] actually stores the FK from the Reviewer table I would need to filter by the ID column in t he combobox.
Last edited: