I have a form that I'm using to filter a report. The user inputs the date range and then can type in a category, and the form will filter a report.
The VBA for the short text field is below and I can't seem to code it correct. I'm getting a 3075 error on the sFilter line. Any suggestions?
I can provide more code if needed.Code:If Not IsNull(Me.txtComplaintCategory) Then sFilter & "[ComplaintCategory] ='" & Me.txtComplaintCategory & "'" End If