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
How do I stream my security camera on my website ?
This is in AIX 5.3..I need to switch a user
MySQL Foreign Key Issue
exchange server 2003
Wireless Problems Ubuntu Netbook Remix 10.04
How can you search e-mail within Outlook 2010 and not use the index?
Setup multiple ethernet interfaces on Redhat to support Oracle RAC
Guide to install OS in newly Hard Drive
Could not start the Web Deployment Agent Service service on Local Computer
wm_concat