Article View: borland.public.cppbuilder.database.ado
Article #1119AppendData
From: kev
Date: Wed, 05 Jan 2005 14:54
Date: Wed, 05 Jan 2005 14:54
16 lines
1602 bytes
1602 bytes
Can someone please enlighten me on how to use the ClientDataSet->AppendData
method? I cannot find any examples and the help is sparse. I am using a
ClientDataset along with a Provider linked to a ADOQuery. I send multiple
querries to the ADOQuery and want to collect the results in a ClientDataSet.
I can use the ClientDataSet->Data property to get the results of each
ADOQuery into the DataSet, but of course I end up with only the last result
in the DataSet. Trying the AppendData method, results in a runtime error
something like "Trying to Append data to a Non-Partial DataSet" when I
execute that line. I am using the following code:
bool bEOF;
ClientDataSet1->AppendData(DataSetProvider1->Data,
bEOF);
Thanks in advance for any assistance.
Kev
Technical Details
Message-ID:
<41dbffa2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,20ac614e5c8abd82,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "kev" <kev@isp.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: AppendData Date: Wed, 5 Jan 2005 08:54:27 -0600 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 65.116.27.178 Message-ID: <41dbffa2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1104936866 65.116.27.178 (5 Jan 2005 06:54:26 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail