N
Neil Crawford
Dear all,
Can you advise me of the correct syntax I should be using
in my variable strSQL please.
I'm using Docmd.OpenReport "ReportName", acPreview,,strSQL
to open a report using the SQL statement strSQL.
So far I've written as follows;-
strSQl = "[Firstpartpostcode] = '" & "BH1" & "'"
This works but I can't add another value to the string
and get it to work i.e. Or BH2. I can't find any guidance
in my books - they all seem to stop at one value!
thanks,
neil
Can you advise me of the correct syntax I should be using
in my variable strSQL please.
I'm using Docmd.OpenReport "ReportName", acPreview,,strSQL
to open a report using the SQL statement strSQL.
So far I've written as follows;-
strSQl = "[Firstpartpostcode] = '" & "BH1" & "'"
This works but I can't add another value to the string
and get it to work i.e. Or BH2. I can't find any guidance
in my books - they all seem to stop at one value!
thanks,
neil