Re: [fpc-pascal] Lookup fields in databases

2015-08-29 Thread Michael Van Canneyt
On Sat, 29 Aug 2015, Marc Santhoff wrote: Hi, peeking the database code I found that: - a TDataSet has FieldDefs - fields are described by TFieldDef(s) - TField has several special properties like "KeyFields" and "LookupDataset" How are these properties of TField (descendants) set and by wh

[fpc-pascal] Lookup fields in databases

2015-08-28 Thread Marc Santhoff
Hi, peeking the database code I found that: - a TDataSet has FieldDefs - fields are described by TFieldDef(s) - TField has several special properties like "KeyFields" and "LookupDataset" How are these properties of TField (descendants) set and by whom? I can imagine the information to set the l