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
How do i create a SCOM 2007 SP1 cluster?
converting mp3 to ringtones for iPhone
Netlogon Service stopped on SBS2003
CBT for lotus notes 8.5 and sametime 8.5
802.1q trunk
Content disappearing after I hit a link?
Redistributing RIP into OSPF non-contiguous subnets.
Upgrade mixed mode Windows 2000 forest/domain to Windows 2008 R2 forest/domain
How do I decide on the hardware components required for assembling a CPU for Development purpose (Microsoft & Adobe Technologies).
How do I hide site tabs from certain users?