Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Format

edited April 2003 in General
Dear All,

lField: TppField;
lComponent: TppComponent;
lLabel: TppLabel;
liField: Integer;

for liField := 0 to FieldList.Count - 1 do begin
lField := TppField(FieldList.Objects[liField]);
fReportFormatItem := ReportFormatItems.Items[liField] as
TReportFormatItem;
lField.DisplayFormat := fReportFormatItem.DisplayFormat;
lComponent := TppComponent(lField.ReportComponent);

When I try to assign this DispalyFormat line to the tppField and Set
Reference back to the control the Format is not setting correctly.

Can Any one please help me.

Thanks
-Bhoj
x256

Comments

This discussion has been closed.