Board index » delphi » Either EOF and BOF is true...

Either EOF and BOF is true...

Hi all,

I have Delphi 5 (Build 6.18) Update Pack 1, MDAC 2.7, Jet 40.0 Sp3.
I have installed D5ADOUpdate2.

I build my application and the error 'Either EOF or BOF is true...'
fires in ADODB.pas, line 4771. The error code is -2146825267.
And that table has records.

Whats the problem?

Many thanks.
--
JAM - Reljate y disfruta...

 

Re:Either EOF and BOF is true...


Quote
>I have Delphi 5 (Build 6.18) Update Pack 1, MDAC 2.7, Jet 40.0 Sp3.
>I have installed D5ADOUpdate2.

>I build my application and the error 'Either EOF or BOF is true...'

Are you getting this error when you run outside of the IDE?
if you do then you probably have old an old copy of adoDb.dcu in your project.
--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Re:Either EOF and BOF is true...


I dont know if the problem is because of i have installed MDAC2.7

Brian Bushay TeamB escribi:

Quote
> >I have Delphi 5 (Build 6.18) Update Pack 1, MDAC 2.7, Jet 40.0 Sp3.
> >I have installed D5ADOUpdate2.

> >I build my application and the error 'Either EOF or BOF is true...'
> Are you getting this error when you run outside of the IDE?
> if you do then you probably have old an old copy of adoDb.dcu in your project.
> --
> Brian Bushay (TeamB)
> Bbus...@NMPLS.com

Re:Either EOF and BOF is true...


Brian Bushay TeamB escribi:

Quote
> >I have Delphi 5 (Build 6.18) Update Pack 1, MDAC 2.7, Jet 40.0 Sp3.
> >I have installed D5ADOUpdate2.

> >I build my application and the error 'Either EOF or BOF is true...'
> Are you getting this error when you run outside of the IDE?
> if you do then you probably have old an old copy of adoDb.dcu in your project.
> --
> Brian Bushay (TeamB)
> Bbus...@NMPLS.com

I have two adodb.dcu files. One in Delphi5\lib and another in Delphi5\lib\debug.
If i delete it i cannot regenerate, so my app dont compiles. I suppose that the
important file is the one inside Delphi5\lib, because the other is for debug
pourposes because i have "Debug DCUs" marked in project options.

Re:Either EOF and BOF is true...


I have the same problem but found that
Read the following on the Borland Web Site
http://www.borland.com/devsupport/delphi/mdac26.html

cheers / Peter S.

"Jess Avils Martnez" <jamj...@jazzfree.com> skrev i meddelandet
news:3C6BB846.C0BFD828@jazzfree.com...

Quote
> I dont know if the problem is because of i have installed MDAC2.7

> Brian Bushay TeamB escribi:

> > >I have Delphi 5 (Build 6.18) Update Pack 1, MDAC 2.7, Jet 40.0 Sp3.
> > >I have installed D5ADOUpdate2.

> > >I build my application and the error 'Either EOF or BOF is true...'
> > Are you getting this error when you run outside of the IDE?
> > if you do then you probably have old an old copy of adoDb.dcu in your
project.
> > --
> > Brian Bushay (TeamB)
> > Bbus...@NMPLS.com

Re:Either EOF and BOF is true...


Quote
Peter Str?mblad wrote:
> I have the same problem but found that
> Read the following on the Borland Web Site
> http://www.borland.com/devsupport/delphi/mdac26.html

> cheers / Peter S.

But i have installed this update and the error continues

--
JAM - Reljate y disfruta...

Re:Either EOF and BOF is true...


Quote
Brian Bushay TeamB wrote:
>>I have Delphi 5 (Build 6.18) Update Pack 1, MDAC 2.7, Jet 40.0 Sp3.
>>I have installed D5ADOUpdate2.

>>I build my application and the error 'Either EOF or BOF is true...'

> Are you getting this error when you run outside of the IDE?
> if you do then you probably have old an old copy of adoDb.dcu in your project.
> --
> Brian Bushay (TeamB)
> Bbus...@NMPLS.com

I have deleted all adodb.dcu in my computer and then run D5ADOUpdate2. A
new adodb.dcu is copied to Delphi5\lib. All ok. Open Delphi, buil my
app, and running it inside IDE not fires any exception, but theres an
error. Here it goes:

I have 5 tables like this

tblPersonal

tblConSanidad <--- tblDirGeneral <--- tblServicio <--- tblSeccion *

* MasterTable <--- DetailTable

In tblPersonal are four fields that stores four codes, one for each of
the tables in relation. I have a DBLookupCombobox for each table (four
DBLookupComboboxes). All works fine except the one related with the
table that causes the previous error. When form shows, three combos have
its values and one (related with tblServicio) is empty. At the left of
each combo i have a DBEdit with the code in the tblPersonal field, and
the code that corresponds to tblServicio ir right stored in tblPersonal.
When i click on combo, it drops down and show the right list of values.
I select, for example, the third (with code '03') and the DBEdit shows
'03' (right) and the combo shows the text belonging to item with code
'01' (first item). Its the same what item i select; the text in combo
is the first item. The three other combos works fine.
--
JAM - Reljate y disfruta...

Other Threads