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

Warden, Matt mwarden at mattwarden.com
Fri Mar 22 15:03:00 CST 2002


On Mar 22, Jay Blanchard had something to say about RE: [thelist] RS.eof...

>In ASP when a recordset is returned empty the both BOF and EOF are TRUE.
>While it is arguable that you could specify one condition (either BOF or
>EOF) and arrive at the same result that is not always the case.

actually, it is. ADO has always defaulted the recordset to the beginning
of the file. so, if you haven't fooled with the recordset's position, then
bof will always be true.

the people who check rs.bof and rs.eof are the ones who make sure there
aren't monsters under their bed every night.

</dead-horse-kicking>

--
mattwarden
mattwarden.com




More information about the thelist mailing list