XML import?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Hans Luijten
Posts: 12
Joined: Thu 07 Jun 2007 16:39
Location: Osceola, WI, USA

XML import?

Post by Hans Luijten » Mon 11 Jun 2007 18:40

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?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 12 Jun 2007 06:29

You can import data from an XML file into the TVirtualTable component using the LoadFromFile method.

Post Reply