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
Combine worksheets from different workbooks into one workbook using VB.Net
Oracle Build Table of tables
HTTP Error 404.3 on IIS 7.0
GUID of a ActiveX OCX
Netbackup 654 : How to import a non netbackup tape and read data from it
WIN Network on SBS 2K3 server has disappeared
How can I send HTML formatted emails to someone who signs up on my site
Multicast session fails to open on secondary site server.
Is possible to just to use a wireless router to extend wireless access to wireless access points?
Hyperlink Pop UP