My application uses a set of TClientDataSetand TDataSource. No DataBase. TClientDataSetsaved in format XML. I save TClientDataSetusing the method DataSet.SaveToFile, and by doing this, the saved file saves the Delta changes. I cannot use the method DataSet.UpplyUpdatesbecause, as stated above, no DataBase, therefore, also not Provider.
DataSet.SaveToFile ('SavedFile.XML') // this retains Delta changes
DataSet.ApplyUpdates (0) // can't use it (no Provider)
My question is: how can I force the Delta changes to be applied TClientDataSetbefore saving it to a file? If saved in a format binary, the Delta? Changes will be applied. Note: closing and subsequent opening TClientDataSetdoes not work either.
source
share