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 

Editing ClientDataset while fetching Asynchronously

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





PostPosted: Mon May 08, 2006 11:14 am    Post subject: Editing ClientDataset while fetching Asynchronously Reply with quote



I need to fetch records from an ADO database asynchronously. However I also
need the ability to modify retrieved records before the fetch is complete
which I don't seem to be able to do.

Option 1 is to fetch async from a TADODataset, and copy the records one
field at time to the ClientDataset which can be edited at any time. This is
slow.

Option 2 is to do the above but somehow use the AppendData function of
TClientDataset to copy the records across which should be faster. However I
get an error about appending data to a non-partial dataset. Is there any
way round this?

Option 3 would be to use a datasetprovider to automatically copy the records
across to the ClientDataset, but I can't work out how to do this and allow
the ClientDataset to be editable at the same time.

Help appreciated.
Back to top
Wayne Niddery [TeamB]
Guest





PostPosted: Mon May 08, 2006 3:14 pm    Post subject: Re: Editing ClientDataset while fetching Asynchronously Reply with quote



Biblin wrote:
Quote:
I need to fetch records from an ADO database asynchronously.

Please do not cross-post or multi-post.
See the newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html

--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks.html
"If there is any principle of the Constitution that more imperatively
calls for attachment than any other, it is the principle of free
thought — not free thought for those who agree with us, but freedom for
the thought that we hate." - Oliver Wendell Holmes
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.