client-dataset

Why is my cloned dataset blank?

I'm using TClientDataset.CloneCursor to implement different views of the same data. I have a master dataset, and several clones, each of which contains a different subset of the master dataset's fields. But when I try to display data from the clones, they come up empty. The master dataset is populated with data correctly, and the clon...

TClientDataset: 'Fieldtype not supported for XML.'

I've got a bunch of data loaded into a TClientDataset, representing an array of complex objects. But when I try to run Dataset.SaveToFile('c:\test.xml', dfXMLUTF8); it doesn't like it: Project testing.exe raised exception class EDBClient with message 'Fieldtype not supported for XML.'. This is a lot less useful than it should be, f...

TClientDataset -- XML mapping.

I'm trying to save data in a TClientDataSet to an XML file, but it doesn't like some of my fields. The helpfile says to create a definition, in one of two ways: either with the xmlmapper.exe file in my \bin folder or with an IDOMDocument interface. Problem is, xmlmapper.exe isn't there, and IDOMDocument is one of those annoying structu...