Page 1 of 1

XML import?

Posted: Mon 11 Jun 2007 18:40
by Hans Luijten
I'm trying the trial version (v5.0.0.1.7 / Delphi 2006) of MyDAC and so far love it ... but ...

I see I can export data to XML.
This works fine!

Now I'd like to import XML data into a table ...

According to the announcement (http://crlab.com/forums/viewtopic.php?t ... import+xml) to should be possible;

* Data export and import to/from XML supported

I searched this forum, snooped throught the manual/pdf ... no luck so far ...

Does anyone know how to do this?

Posted: Tue 12 Jun 2007 06:29
by Antaeus
You can import data from an XML file into the TVirtualTable component using the LoadFromFile method.