DataSetProvider - DataSet to ClientDataSet

Posted by nomad311 on Stack Overflow See other posts from Stack Overflow or by nomad311
Published on 2010-03-30T20:30:28Z Indexed on 2010/03/30 20:33 UTC
Read the original article Hit count: 323

Filed under:
|

I am trying to take data from a TMSQuery which is connected to my DB and populate a ClientDataSet with some of that data using a DataSetProvider.

My problem is that I will need to modify some of this data before it can go into my ClientDataSet. The ClientDataSet has persistent fields that will not match up with the raw DB data. I can't even get a string from the DB into a memo field in ClientDataSet.

The ClientDataSet is a part of my data tier so I will need to conform the data from the DB to the ClientDataSet field by field (well most will be able to go right through, but many will require routing and/or conversion).

Does anyone have experience with this?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about data-structures