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
Java Data Array Sorting Advice Needed
Delete blank line from textarea
Need a SUM
swapfile location cannot be changed
migrate drupal from CentOS 4 to Centos 5 -----Also, Physical Machine to Virtual Machine
DW & level of normalization
Help Button in MsgBox for MS-Access
EIGRP Traffic limited to 50% by default?
Seeking tool for scaling, resizing, and cropping uploaded images (javascript / php, etc)
DOS Batch Turnkey system for Win95