[thelist] RS.eof and RS.bof (ASP)

Feingold Josh S Josh.S.Feingold at irs.gov
Fri Mar 22 09:33:00 CST 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
I have query that returns one recordset.  In the event that no recordsets
are returned I wish to hide the code that would try to read from the
recordset (so it does not break the page).

Here is the code

<% if not rs.BOF and rs.EOF then %>

<td>Name:<td><%=rs("name")%>

<% end if  %>

Any ideas where I am going wrong?

Thanks,
Josh



More information about the thelist mailing list