 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ken Hartnett Guest
|
Posted: Fri May 28, 2004 2:51 pm Post subject: TADOTable recordcount error |
|
|
Delphi 6 Enterprise.
I am using 2 TADOTable components in a master/detail relationship where
a button a form is enabled depending on whether or not there are any
detail records which are maintained in an Infopower grid. I check the
detail record count (adoTabel.RecordCount) in the grids's OnExit event
or any time a record is deleted. In both cases I get an EOleException
'Either BOF or EOF is true, or the current record has been deleted.
Requested operation requires a current record." The same thing occurs if
I use a TADOQuery to get a count of the the number of records and if I
use not adoTable.IsEmpty.
Any ideas on how to get the record count of the ADO table?
Thank you.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|