I have a question about the association of ClientDataSet
and TZQuery
. I wanted to associate the same table that I selected in my TZQuery
, with my ClientDataSet
, because I want to generate a .XML file from the table my ClientDataSet
got. >
At first I thought it was like this:
ClientDataSet1.Assign(ZQuery1);
or
ClientDataSet1.Data := ZQuery1
Give an error of different types.
But obviously I was wrong.
Any ideas?