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
Network Device
Running .exe in a logon script
Radio button Dependency using JSF and Apache Trinidad
How do I upgrade firmware on Netgear wg103
jQuery: Add div at beginning of other div
dynamic httpbinding for web services
Sudden Laptop screen failure
When I encrypt/encode a string using codeigniter encryption class, it is different everytime, why?
psexec and copy file permissions
Icons and Start menu disappeared from desktop, running Windows 7 Home Edition on a Dell