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
jquery Colorbox login form redirect
.net Click Once With Silent Install
How can I create a list from a starting number and ending number in Excel?
What is Overloading?
Exchange 2010 inbound attachment size limit
What is the DOS path for Windows 7 My Documents?
Delete user from Bes Express but system still thinks they are in the database
ESXi 4: Understanding resxtop Output on Disk Performance
Connect database created from Sharepoint 2010 beta in SharePoint 2010 RTM.
You Tube Download Software