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
capturing deletes
Redistributing RIP into OSPF non-contiguous subnets.
Out of Office Assistant not working w/Forwarding Configured
802.1q trunk
Dell inspiron 1720 BCM2045 bluetooth driver for Windows XP Professional.
How to find the row count in an Oracle DataReader in ASP.NET?
How to set up a process that updates a UserRoleID, generates a password, and sends an email message all at once?
Conditional Formatting not printing
Sorry, VMware GO doesn't currently support ESXi servers with multiple datastores.
2 raid controllers managing the disk array