Delphi 5.0 ADO with d5adoupdate2 fail with findNext ?
- From: "Nyssi" <jukka.raisio@xxxxxxxxxxxxxxx>
- Date: Sun, 25 Jun 2006 16:53:19 +0300
Delphi 5.0 ADO with d5adoupdate2 fail with findNext ?
At least this little piece of code fails with .. BOF EOF error in my case...(firebird,mssql6.5)
-------------
if active and findfirst then
repeat
...
until not findNext;
end;
--------------
If I just alter the file ADODB and compile with it works fine...
---------------- ADODB.PAS line 4689
if not Cursor.BOF and not Cursor.EOF then // added "Exception" ???
begin
if (Cursor <> Recordset) then
Recordset.Bookmark := FFindCursor.Bookmark;
Resync([rmExact, rmCenter]);
SetFound(True);
end;
except
----------------
Is This known bug or am I doing something terribly wrong?
-jukka
.
- Follow-Ups:
- Re: Delphi 5.0 ADO with d5adoupdate2 fail with findNext ?
- From: Dennis Passmore
- Re: Delphi 5.0 ADO with d5adoupdate2 fail with findNext ?
- From: Mike B
- Re: Delphi 5.0 ADO with d5adoupdate2 fail with findNext ?
- Prev by Date: Re: Connecting SQL Server 2005 Everywhere Edition
- Next by Date: Re: Delphi 5.0 ADO with d5adoupdate2 fail with findNext ?
- Previous by thread: Connecting SQL Server 2005 Everywhere Edition
- Next by thread: Re: Delphi 5.0 ADO with d5adoupdate2 fail with findNext ?
- Index(es):