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
Outlook 2007 w/ Exchange 2010 empty folder
BFILE to BLOB
difference between AD integrated dns server and dns server
Exchange 2010 Public Folder Error
RDP Background Windows
.NET FTP Control
Dell PowerEdge Perc 4e/Di RAID 1 expansion
New Linksys E3000 has "FastMagnolia-guest" connection that is unsecured.
Sonicwall Rule Issue
PHP and concurrent access to files ?