0
I have a Query of Firedac (Fdquery) and want to pass its result to a Clientdataset.
Since Firedac works with Ifddatasetreference and the Clientdataset work with Olevariant, of the compatibility error. Code that generates the error:
ClientDataSet1.Data := FDQuery1.Data;
Error presented: Invalid data Packet.
How can I do that?
Important details:
- It has to be Clientdataset, in which case it can’t be Fdmemtable.
- I don’t want/I can browse the query with a While to pass to the
Clientdataset.
As I mentioned in the question, I already do that and that’s what causes the error. Anyway, thanks for trying to help.
– Andrey