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 

Retrieving only needed data in Client Dataset

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Davide Rubbiani
Guest





PostPosted: Mon Oct 13, 2003 8:32 am    Post subject: Retrieving only needed data in Client Dataset Reply with quote



Hello,

I'm developing a framework where there is a main form with a data grid
filled by an ADO dataset and from this form you should be able to open
several detail form about any records you select in the main form.

I would like to do this with a TClientDataset on every detail form attached
by a TProvider to the ADO dataset in the main form, on which I can call the
ApplyUpdates method to update the ADO dataset in the main form.

In this way I should have the dataset in the main form always updated with
the last changes.

I have tried using Params of the TClientDataset of each detail form, It work
fine, but it changes the viewable data also in the dataset on the main form.

Is there a way to fetch only the desider data from a dataset by a
TProvider/TClientDataSet without altering the data retrieved directly form a
dataset...

I hope to be clear in my explanation.

I'm using Delphi 6 Ent.!

Thanks,
Davide.


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