If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Cannot close dataset

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-04, 05:55
Istari Istari is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
Unhappy Cannot close dataset

When I try to close any ADO Dataset after reading the last record I get an error message from ADO that roughly translates like this (my computer setup is in spanish): "The value of BOF or EOF is true, there is no actual record, an actual record is needed in order to complete the operation".
I started using the dataset first method before closing as a workaround, but this time, I'm opening a possibly empty dataset, and there's no first record to go to, therefore, if the dataset is empty, I cannot close it. Any suggestions?. I'm using Delphi 5 with the standard ADO controls, Access 4.0 as database engine and Jet 4 as provider.
Reply With Quote
  #2 (permalink)  
Old 11-26-04, 02:57
GongXi GongXi is offline
Registered User
 
Join Date: Jun 2004
Posts: 57
what is the MDAC version that you are using? try to update the latest version.
Reply With Quote
  #3 (permalink)  
Old 12-17-04, 04:34
popskie popskie is offline
Registered User
 
Join Date: Oct 2004
Location: In cousin's house
Posts: 303
Arrow

hi,
I used delphi 5 for the past 3 years using BDE and Advantage Server Software but I dont knew how to use, using ADO can u give me a sample on how to connect delphi 5 to Microsoft access so that I can experiment ur problem. 2 months ago i migrated to VB6 and Sql server 2000 all delphi application.

Thanks..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On