Posted 13 November 2018, 2:01 am EST
Hi
The following code still works:
// Create the Detail section
L_objSection = L_objReport.Sections[SectionTypeEnum.Detail];
L_objReport.Font.Bold = false;
L_objSection.Height = 200;
L_objSection.Visible = true;
L_objField = L_objSection.Fields.Add("fldDetailRow", "SpreadsheetRowNumber", 0, 0, 350, 150);
L_objField.Calculated = true;
L_objField.Font.Size = 6;
L_objField = L_objSection.Fields.Add("fldDetailException", "LongExceptionText", 400, 0, L_objReport.Layout.Width - 500, 150);
L_objField.Calculated = true;
L_objField.WordWrap = true;
L_objField.AutoHeight = AutoSizeBehavior.GrowAndShrink;
L_objField.Font.Size = 6;
I would like to update it to use the latest Methods but I can’t seem to work out how to include Calculated Fields
Regards,
Mark