I converted a 2.8 MB XML file into a ClientDataSet in Delphi XE. The XML file changes quite frequently and I am basically building a new CDS file programmatically every time the XML changes. It’s not only the content the changes, but also the actual structure.
The question is: Is it possible to use simple SQL on ClientDataSet1 to create a second ClientDataSet with a result table in memory? If the answer is yes, what are the basic mechanics? Currently I am only using TClientDataSet and TDataSource to make the database available to data-aware components.
TxQuery may do what you want. It is a TDataSet descendant component that can be used to query one or more TDataSet descendant components using SQL statements. It is available at http://code.google.com/p/txquery/