Need help with Apply filter based on 2 comboboxes

reggiete

Registered User.
Local time
Today, 02:15
Joined
Nov 28, 2015
Messages
56
Could anyone help with the code below, i get a error after the And, which im sure i have the syntax wrong


Me.Filter = "[Assigned Analyst] = '" & Me.UserQueueSelected & "'" And "[Testing Month] = '" & Me.Testing_Month & ""


Both combo boxes are text strings
 
Try the below, (I've add one ' and removed 2 ")
Code:
Me.Filter = "[Assigned Analyst] = '" & Me.UserQueueSelected &  "[B][COLOR=Red]'[/COLOR][/B] And [B][COLOR=Red][[/COLOR][/B]Testing Month] = '" & Me.Testing_Month & "[B][COLOR=Red]'[/COLOR][/B]"
 
thank you for your help, i knew it was something with "
 

Users who are viewing this thread

Back
Top Bottom