The title pretty much says it all. I'm using a TClientDataset to store an array of objects, and one of the objects has a member defined as a set of an enumerated type. As I understand it, Delphi sets are bitfields whose size can vary from 1 to 32 bytes depending on how much data they contain, and Delphi doesn't define a TSetField. What sort of field should I use to load this value into?
Delphi – What’s the best way to store a Delphi set in a dataset
datasetdelphiset
Best Solution
You could use a TBytesField or a TBlobField
ClientDataSet1MySet: TBytesField, Size=32