svigneault
New member
- Local time
- Today, 14:50
- Joined
- Jun 15, 2012
- Messages
- 4
I have a form to open with arguments. What I want to do is to see if a date has been treated for a particular school run. Here is my code
DoCmd.OpenForm frDates, , , "[DATES_IN] = #" & dateDTjr & "# and [CIRCUIT] = " & CmdCircuit & " , acFormReadOnly, acHidden"
Here is the message from Access:
Syntax error (missing operator) in query expression '[DATES_IN] = #28/05/12# and [CIRCUIT] = C.S.D.M., acFormReadOnly, acHidden'.
I don't know what to do with that.
Please help!!!!
DoCmd.OpenForm frDates, , , "[DATES_IN] = #" & dateDTjr & "# and [CIRCUIT] = " & CmdCircuit & " , acFormReadOnly, acHidden"
Here is the message from Access:
Syntax error (missing operator) in query expression '[DATES_IN] = #28/05/12# and [CIRCUIT] = C.S.D.M., acFormReadOnly, acHidden'.
I don't know what to do with that.
Please help!!!!