Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q5822, August 30, 2001 at 16:14:31:

You are here: irt.org | About | Feedback | 3113 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q5822

Sent by
Mike Langford on August 30, 2001 at 16:14:31:

Worth:
Worth reading

Comments:
A better way I have found is to simply do:

if rs.BOF and rs.EOF then
Response.Write("No Records Returned")
else
'Do something with the returned records
end if

Checking for both the EOF and the BOF will ensure that the rs is really empty since you can only be at the end AND the beginning at the same time when there is nothing in the set.


Other feedback on 'irt.org FAQ Knowledge Base Q5822' - show all

©2018 Martin Webb