Replied 12 September 2019, 5:26 pm EST
I am trying to implement above code In Base Base Class for Common Use and three purposes:
1. To Make Zero Equal Empty String.
Above code doesn't work if tf7... are not known at run-time for common reports.
2. Conditional formatting comparing Previous Row, Current Row And Next Row.
3. How to make a field Empty String If Previous Value=Current Value ?
Kindly suggest the solution for below error generated sample code:-
public virtual void FlexReport_StartSection(object sender, ReportEventArgs e)
if (e.Section == SectionTypeEnum.Detail)
foreach (Field field in FlexReport.Fields)
if (field is RepoField)
if (field.ColType == Enums.ColType.Amt)
field.Text = " ";
else field.Text = field.Text.ValueAsString.Value().ToLocal(2);