I have a Query of FireDAC ( FDQuery ) and want to pass its output to a ClientDataSet .
Since FireDAC works with IFDDataSetReference and ClientDataSet work with OleVariant , the compatibility error. Code that generates error:
ClientDataSet1.Data := FDQuery1.Data;
Error presented: Invalid data packet .
How can I do this? Important details:
- It must be the ClientDataSet, in which case it can not be FDMemTable.
- I do not want / can go through Query with a While to go to
ClientDataSet.