BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

delete problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Terry
Guest





PostPosted: Thu Dec 04, 2003 9:14 pm    Post subject: delete problem Reply with quote



I have a master detail relationship set up on a notebook. first tab is the
master record and the other tabs display the detail table information for
update and insert.

when I attempt to delete a detail record. by doing a
DataSource.dataset.delete where the datasource points to an adodataset, i
get the following error
EOleexception... Row cannot be located for updating. Some values may have
changed since it was last read.

If I tab through the detail records, the deleted record is still there. If
I change the master record , then go back to the one in question, the detail
record is gone.

The deleted record appears to still be in the recordset for the detail table
( until I change the master record ) . What needs to be done to get rid of
the error, and the record?



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.