 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bud Manz Guest
|
Posted: Mon May 07, 2007 9:54 pm Post subject: Using ADOQuery1->SaveToFile(..., pfXML); |
|
|
Hello,
I have an application that pulls information from an Oracle database as
well as a default value(hard-coded in the SQL). Its primary purpose is
to allow the user to change the default value. It does this fine, except
when she starts the updates, she cannot close the app down until all
changes are done.
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.
The problem that I am facing is that when I save the file, the only way
that I can update the file is to add 'rs:writeunknown="true"' to the XML
AttributeType for the field. When she gets the new batch from Oracle, it
doesn't retain this.
Any ideas?
Thanks,
Bud |
|
| Back to top |
|
 |
Bob Swart Guest
|
Posted: Tue May 08, 2007 1:06 am Post subject: Re: Using ADOQuery1->SaveToFile(..., pfXML); |
|
|
Hi Bud,
| Quote: | 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");
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 |
|
| 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
|
|