Microsoft
Software
Hardware
Network
Question : Correct syntax in a Where clause
I need help with the syntax of a Select statement where the WHERE clause is looking for records that have a value that is True (a Yes/No data type).
Here is the statement that doesn't work:
rst1.Open "SELECT * FROM qryList WHERE SendEmail = " & "" & True & "'""
Thanks in advance,
Ron
Answer : Correct syntax in a Where clause
rst1.Open "SELECT * FROM qryList WHERE SendEmail = 1 "
should do it...
Random Solutions
Small Business Server Crital alerts
self-hosted free form builder
NAT setting and vmware
Slipstream all updates into new wim.image / win 7 install DVD
Printing to printer over a WAN Link
Arcserve 11.5 and LTO 5
Internet Explorer Keeps shutting down
Delete first 1 or 2 rows from csv/text delimited file
asp.net page to test database connectivity
Display Query Results in a Message Box