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
Cisco "Do wr" does not work in "conf t" mode or any other sub-mode
Motherboard driver CD for HCL - P5GD2-TVM/GB/SI
Stolen Laptop Remote Desktop
iphone saying can't connect to server on Exchange 2010 account...
Digital signature control not visible
Sharing Methods Between Applications on the Same Server
Integrating projects
Upgrade Sqlite in RHEL5.4
Identifying creator of fake facebook page
How many types of pages r there in SQL Server?