Article View: borland.public.cppbuilder.database.ado
Article #2812How to add records to file
From: Sky
Date: Sun, 23 Mar 2003 08:08
Date: Sun, 23 Mar 2003 08:08
21 lines
1628 bytes
1628 bytes
Hi
I have save some records to a file by "SaveToFile" method.
now i want add another records into this files,
Does anyone can tell me how to do? TIA!
the following is my code:
TADOQuery *AQNormal;
...
// AQNormal has connect a MS Access database successfully.
if (AQNormal->Active)
{
AQNormal->SaveToFile("C:\\data.dat");
}
AQNormal->LoadFromFile("C:\\temp.dat");
AQNormal->Filtered = false;
AQNormal->Filter = "Age > 50";
AQNormal->filtered = true;
// now i want add all the records in "C:\temp.dat"
// to "C:\data.dat"
// any hint?
Technical Details
Message-ID:
<3e7d6bb6@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,b02201f0abfb83d7,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-03-23 00:15:36 PST Reply-To: "Sky" <akeehuang@163.net> From: "Sky" <akeehuang@163.net> Newsgroups: borland.public.cppbuilder.database.ado Subject: How to add records to file Date: Sun, 23 Mar 2003 16:08:18 +0800 Lines: 23 Organization: CK X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 210.14.178.250 Message-ID: <3e7d6bb6@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1048406966 210.14.178.250 (23 Mar 2003 00:09:26 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail