Display names <-> field names
What about an event in the designer with which you can say that a field
shouldn't be as "CustNo" but as "Customer Number". Example:
Event: OnGetFieldDisplayName
procedure TForm1.ppDesigner1GetFieldDisplayName (Pipeline: TppPipeline;
FieldName: string; var DisplayName: string);
begin
if FieldName = 'CustNo' then
DisplayName := 'Customer Number'
else
DisplayName := FieldName; // needless because DisplayName defaults to
FieldName
end;
Helge.
shouldn't be as "CustNo" but as "Customer Number". Example:
Event: OnGetFieldDisplayName
procedure TForm1.ppDesigner1GetFieldDisplayName (Pipeline: TppPipeline;
FieldName: string; var DisplayName: string);
begin
if FieldName = 'CustNo' then
DisplayName := 'Customer Number'
else
DisplayName := FieldName; // needless because DisplayName defaults to
FieldName
end;
Helge.
This discussion has been closed.
Comments
field names (field aliases) for data field names coming through the data
pipelines.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Thanks, I'll try to do that!
Helge.