🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #179

Re: Using ADOQuery1->SaveToFile(..., pfXML);

#179
From: Bob Swart
Date: Mon, 07 May 2007 20:06
21 lines
1728 bytes
Hi Bud,

> I am trying to use SaveToFile to create an XML file that she can use so 
> she can continue if she doesn't have time to finish it in one setting. 

Note that if you save to a file with the XML file extension in the name, 
you don't have to specify the second parameter (with the type), since it 
will automatically determine the file type based on the extension...

So just call ADOQuery1->SaveToFile("whatever.xml");

> Thanks,
> Bud

Groetjes,
           Bob Swart

-- 
Bob Swart Training & Consultancy (eBob42.com)  Forever Loyal to Delphi
Blog: http://www.drbob42.com/blog - RSS: http://drbob42.com/weblog.xml
New Delphi 2006 Courseware e-books at http://www.eBob42.com/courseware
Technical Details
Message-ID: <463F86AF.3010500@chello.nl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <463f59df$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,d4896e7ca97e6dcc
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <463F86AF.3010500@chello.nl>
Date: Mon, 07 May 2007 22:06:07 +0200
From: Bob Swart <b.swart@chello.nl>
Organization: Bob Swart Training & Consultancy (eBob42)
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Using ADOQuery1->SaveToFile(..., pfXML);
References: <463f59df$1@newsgroups.borland.com>
In-Reply-To: <463f59df$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 213.93.58.49
X-Trace: newsgroups.borland.com 1178568368 213.93.58.49 (7 May 2007 13:06:08 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail