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
SSAS Filter Unused Dimension Members
textmode password
Cisco ASDM 6.2 for ASA 5510
Netbackup 654 : How to import a non netbackup tape and read data from it
User has 6GB PST file (archive.pst), how do I break into smaller pieces?
Certificate Authority 2003, 2008 Enterprise Root CA
No output from an echo
how to export the SSL certificate from Microsoft exchange 2003 in the .p12 format for mobile phone HTC Desire
Shares unavailable
vinegar and bugs