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
Website doesnt display correctly in IE7
How to sendkeys commands to two sequential dialog boxes
Resource Booking in Outlook 2003/07
get 550 5.7.1. Unable to relay for specific domains....
Change content file onClick without reloading page.
Dell PowerEdge 2800 server failure - RAID ADAPTER unrecoverable error
How do i verify an age element using javascript?
Increment Value
Change the powershell script to write to a file rather than updating to the computer object.
kvm cables for dell poweredge server