Not rsSearch.EOF
or rsSearch.EOF = false
Technically
if rsSearch.EOF
means
if rsSearch.EOF = true
Most people do not use the explicit coding statement, which leads to
confusion. You can also use NOT to negate the statement.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge
************************************************** **************************
****
Think Outside the Box!
************************************************** **************************
****
"crispy" <polaatx@REMOVE THIS PART yahoo.com> wrote in message
news:i3********************************@4ax.com...
I have an if and then statement with two conditions.
<% elseif refURL = "search_results" And rsSearch.EOF then %>
But now I want to say that the first condition is true and the second
condition is false.
How do I say the opposite of rsSearch.EOF?
I already know that
<% elseif refURL = "search_results" And NOT rsSearch.EOF then %>
doesn't work.
thanks.
crispy