Page 1 of 1

How to do with Mydac as ClientDataSet Delta?

Posted: Tue 11 Aug 2009 19:11
by cobbra
I need to save only fields changed in my application on a xml file.

I have a group of registers that, the users sometimes needing change, without access the database, only in local data.

I trying to save a xml file with the fields or registers affecteds.
Have a better user for this operation? Maybe a function for save only changed rows? Changed fields and save a XML file?

Sorry my bad english, thank you the help.

Adriano Hedler - Brasil

Posted: Tue 18 Aug 2009 13:06
by Challenger
There is no such functionality in MyDAC. You can try to use the SaveToXml method and the UpdateRecordTypes property (to filter updated records in the CachedUpdates mode) of TMyQuery.

Posted: Tue 25 Aug 2009 21:39
by cobbra
Yes... this is a solution...

I use the SavetoXML and LoadFromXML on Virtual Table, and use CRbathmove for sincronyze... this a best way.

You can save the xml everytime... and after sincronize.

Thank you...