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 

TClientDataSet - update a quety with 2 or more table in join

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





PostPosted: Thu Jan 15, 2004 10:43 pm    Post subject: TClientDataSet - update a quety with 2 or more table in join Reply with quote



Hi,
I have a TClientDataSet that point to a DataSetProvaider tha point to a SQLDataSet
This SQLDataSet have a query with two table in JOIN
If I try to call ApplyUpdate method then an edit operation I receive this error:

"Unuble to find the record.No Key Specified"

My 2 tables have an own key and if I usa ADO and no DBExpress with ClietnDataSet
I will no recive an error

I read that is impossible update in automatic a TClientDataSet with 2 tables but I
must write code in ONBeforeUpdate Event.
It is the true? if yes I thing that this is a limitation of TClientDataSet logic.....


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) 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.