Initialization

DefaultFieldDefClass := TMyFieldDef;

When clicking on the second toolbar button, the program modifies the ExtraDescription property for the first field definition and the fetches it along with more field definition class information:

141 It might be interesting to add into each field definition a reference to metadata information, a data dictionary, a field definition, or anything that would let you have a more flexible and powerful data access layer.

procedure TFormCustomFie1ds.btnFie1dDefClick(

Sender: TObject); begi n

(ClientDataSetl.Fie1dDefs[0] as TMyFieldDef).

ExtraDescription := 'This is the first column'; Log ('ClientDataSetl.FieldDefs[0].ToString: ' + ClientDataSetl.FieldDefs[0].ToString);

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment