[thelist] Check for empty record set?

Stephen Caudill SCaudill at municode.com
Thu Jun 19 08:41:57 CDT 2003


Anthony Baratta bespaketh on Wednesday, June 18, 2003 7:15 PM:

> 
> Looks like you are using ASP??
> 
> if not(var_individual.EOF AND var_individual.BOF) then
> 
>          '' Found some data
> else
>          '' Not data found
> 
> end if
> 

I noted that it seems to be the consensus to specify:
 if not (rs.eof and rs.bof) then

rather than just
 if not rs.eof

What is the advantage, practically, of one over the other (other than specificity)?

Thanks,
Stephen Caudill
http://www.mechavox.com


More information about the thelist mailing list