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
Shell script to queue commands
How Unlock Ipod Touch If You Forget Your Passcode
Datalist reset all its items when OnItemCommand is fired
Delete blank line from textarea
How can I determine if the firewall is not letting through certain TCP packets?
How to display KML file on a Google Map?
Raid 1 mirror Bad block discovered
SCCM OSD deployment to Hyper-v R2
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
TSQL nested WHILE EXISTS