Microsoft
Software
Hardware
Network
Question : Check syntax of SQL Select statement in access vba code
Hi,
Could someone please check this syntax for me:
strSQLMonPubs = "SELECT * FROM qryWeeklyAccountCharge WHERE CustomerID = " & CurrentCustomerID & " AND 'DayDelivered = Monday OR Monday - Friday OR Monday - Saturday'"
In the query there is a field called DayDelivered and I want all results where the DayDelivered is "Monday" "Monday - Friday" or "Monday - Saturday"
So a single customer may have multiple results.
Thank you.
Answer : Check syntax of SQL Select statement in access vba code
strSQLMonPubs = "SELECT * " & _
"FROM qryWeeklyAccountCharge " & _
"WHERE CustomerID = " & CurrentCustomerID & " AND DayDelivered IN ('Monday', 'Monday - Friday', 'Monday - Saturday')"
Random Solutions
RSH client for windows 2008 r2
printer driver
Clearing a submit form once submitted
Antivirus software windows XP
Clear out calendar box in raddatepicker using javascript and postback
Good free network Management software
Exchange 2010 DAG witness directory
PHP cannot connect to mySQL on LAMP server
ASP.NET clickOnce to download app to client
Dell PE 2850, ESXi 4.0, 64bit guest VMs?