Re: sometimes it returns error message: Either BOF or EOF is true in my asp page and it has valid data
From: Stephen Howe (stephenPOINThoweATtns-globalPOINTcom)
Date: 02/21/05
- Previous message: Andy DF: "Migrating from Access to SQL Server 2000"
- In reply to: Gabriel Mejía: "sometimes it returns error message: Either BOF or EOF is true in my asp page and it has valid data"
- Next in thread: Gabriel Mejía: "Re: sometimes it returns error message: Either BOF or EOF is true in my asp page and it has valid data"
- Reply: Gabriel Mejía: "Re: sometimes it returns error message: Either BOF or EOF is true in my asp page and it has valid data"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Feb 2005 21:06:03 -0000
> Microsoft give a solution at the article Article ID : 230101
>
> but I did it all (I have mdac 2.8 installed and the problem still
ocurrs).
Sounds to me like the RecordSet it returns is part of the count of the
number of records (the one that is affected by SET NOCOUNT ON).
> any suggestions?
Examine NextRecordSet and programme for this.
If BOF and EOF are both TRUE then the Recordset is empty.
So skip processing of that recordset.
If you then examine NextRecordSet, you might find it is not Nothing and
actually contains the records you after. Keep looping until NextRecordSet is
Nothing
Stephen Howe
>
>
- Previous message: Andy DF: "Migrating from Access to SQL Server 2000"
- In reply to: Gabriel Mejía: "sometimes it returns error message: Either BOF or EOF is true in my asp page and it has valid data"
- Next in thread: Gabriel Mejía: "Re: sometimes it returns error message: Either BOF or EOF is true in my asp page and it has valid data"
- Reply: Gabriel Mejía: "Re: sometimes it returns error message: Either BOF or EOF is true in my asp page and it has valid data"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|