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
Backup Exec - Byte Count vs. Capacity Discrepancy
Skype ID creation date?
IIs7 on Windows server 2003
Microsoft ebs security server configuration
Socket Question
How can I change the created and/or modified date of a FOLDER?
Gridview Update Error, Cannot insert Null Value into DB. Controls all returning null values
HISTOGRAM WITH CP AND CPK ANALYSIS
How to enforce using Citrix Universal Print Driver in Citrix
Can't understand JS closures