Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_database_setup thread: BOF and EOF True


Message #1 by dap_1911@h... on Tue, 31 Jul 2001 23:52:08
I am getting an error that I don't know what to do about.  While debugging 

my ASP pages, I am using Response.write (rs.EOF) and Response.write

(rsBOF).  I get True for both.  



Did anyone else ever have this problem?  If so, could you tell me how to 

remedy it.



Thank you,



Derek
Message #2 by "Ken Schaefer" <ken@a...> on Wed, 1 Aug 2001 12:46:37 +1000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: <dap_1911@h...>

Subject: [asp_database_setup] BOF and EOF True





: I am getting an error that I don't know what to do about.

: While debugging my ASP pages, I am using Response.write

: (rs.EOF) and Response.write (rsBOF).  I get True for both.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/

mdprobof.asp?frame=true

explains .EOF and .BOF.



If both are true, then you have no records in your recordset.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

: Did anyone else ever have this problem?  If so, could you

: tell me how to remedy it.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



This is not a 'problem' per se - you need to look at your search criteria,

and/or your data, and make sure you that you are executing a query that

returns results.



Cheers

Ken




  Return to Index