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
Run the first php script in background - When done - run the next script ...
changing cell reference
User Certificate Enrollement Problem
Using Message Header decoration in operation contract of WCF
User has 2 Calendars after migration
Understanding Analog Telephone Adaptors
Visual Studio 2005 not working on Windows 7
PowerPoint Viewer 2010 Full Screen Mode by Default
Cannot access Windows 2008 DFS links from Windows 2003
Microsoft Office 2007 Clip art disappeared