Re: BOF or EOF error -MSAccess Fixed



What version of Delphi are you using? There was a bug in D5's ADO that was
fixed with AdoUpdate2 patch.

-Steve-

"Mike Martin" <mikem@xxxxxxx> wrote in message
news:43d740bd$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> It seems to be fixed for the moment, not that I understand it. The problem
> does not occurr when the recordcount is 0, so this seems to have fixed the
> problem. I guess it doesn't want me to close the query when eof is true.
>
> if q1.recordcount > 0 then
> q1.first.
> q1.close;
>
> I did see a slight difference in MSAccess driver versions under ODBC,
> between my Win2K and WinXP computers. I don't don't know if ODBC has
> anything to do with ADO.
>
> "Mike Martin" <mikem@xxxxxxx> wrote in message
> news:43d72586@xxxxxxxxxxxxxxxxxxxxxxxxx
>> On Windows XP computers, my application receives this eOleException when
>> when performing MyADOQuery.close (or .free). This does not happen on
>> Win2K
>> computers.
>>
>> Either BOF or EOF is true, or the current record has been deleted.
>>
>> It's a simple select query, but eof is definitely true. The error occurs
>> after looping through the rows.
>>
>>
>
>


.



Relevant Pages

  • Re: BOF or EOF error -MSAccess Fixed
    ... That's probably the patch I can't find, as I do still use D5. ... I guess it doesn't want me to close the query when eof is true. ... >> I did see a slight difference in MSAccess driver versions under ODBC, ... >> between my Win2K and WinXP computers. ...
    (borland.public.delphi.database.ado)
  • Re: BOF or EOF error -MSAccess Fixed
    ... does not occurr when the recordcount is 0, so this seems to have fixed the ... I guess it doesn't want me to close the query when eof is true. ... I did see a slight difference in MSAccess driver versions under ODBC, ... between my Win2K and WinXP computers. ...
    (borland.public.delphi.database.ado)
  • Re: 525 Data Access Error - German Version of Windows
    ... it appears you are actually using ADO? ... I am using the DAO data control.... ... converting the app to ADO ... The app works on American computers ...
    (microsoft.public.vb.database.dao)
  • Re: Is there something basic that I have missed on the upgrade to VS2005?
    ... > STL code I am using. ... It is not ADO by any chance? ... With ADO you do have to "rename" EOF as it confuses EOF as ...
    (microsoft.public.vc.stl)
  • BOF or EOF error -MSAccess
    ... On Windows XP computers, my application receives this eOleException when ... Either BOF or EOF is true, or the current record has been deleted. ... but eof is definitely true. ...
    (borland.public.delphi.database.ado)