Syntax error on where arguments (1 Viewer)

svigneault

New member
Local time
Today, 06:57
Joined
Jun 15, 2012
Messages
4
I'M trying to filter data to verify if a date for a particular school run as been treated.
Here is my code:

DoCmd.OpenForm frDates, , , "[DATES_IN] = #" & dateDTjr & "# and [CIRCUIT] = " & CmdCircuit & " , acFormReadOnly, acHidden"

Here is the message I receive from Access
Syntax error (missing operator) in query expression
'[DATES_IN] = #28/05/12# and [CIRCUIT = C.S.D.M. , acFormReadOnly, acHidden'.

I must miss something here...
Sorry for my english, I'm a french canadian....;)
 

Users who are viewing this thread

Back
Top Bottom