How to save Delphi FMX form data to XML file, then display file later on a stringgrid


I have tried to perform these operations without success.

For reading the XML file, Blog searches suggested using TXMLDocument which I’ve tried. I used the XML Data Binding Wizard to create the data unit.

AuditList : IXMLAUDITType;

and then

Grid1.Cells[ 0 , 0 ] := AuditList.Transaction.PickType;

I started on the read with sample data thinking this would the be the easier than writing the XML data.

What is the best way to achieve writing data from the form and reading XML data to a grid, and please provide sample code or links to resources.

Comments are closed.