 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Biblin Guest
|
Posted: Mon May 08, 2006 11:14 am Post subject: Editing ClientDataset while fetching Asynchronously |
|
|
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
|
Posted: Mon May 08, 2006 3:14 pm Post subject: Re: Editing ClientDataset while fetching Asynchronously |
|
|
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 |
|
 |
|
|
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
|
|