Subject | Re: [IBO] FieldsDisplayLabel |
---|---|
Author | Geoff Worboys |
Post date | 2001-01-24T00:19:56Z |
> Exists a way to receive the values of FieldsDisplayLabelThat depends. If your FieldsDisplayLabel entries are all defined by
> before a Dataset is prepared ?
fieldname (not by domainname or SQLType) and you know the fieldname
then you can do something like...
Result := dataset.FieldsDisplayLabel.LinkValues[ 'field_name' ];
// if not defined at dataset, check connection
if Result = '' then
Result := connection.FieldsDisplayLabel.LinkValues[ 'field_name' ];
If you use domainnames in your Fields* properties then you must either
wait for the dataset to be prepared (to find out the domain) or - if
you know the domainname - you can pass that instead of the fieldname.
HTH
Geoff Worboys
Telesis Computing