C1.C1Report Namespace > Field Class : Calculated Property |
If this property is set to false, the value of the Text property is rendered on the report without any further processing.
If it is set to true, the value of the Text property is evaluated as a VBScript expression and the result of the expression is rendered on the report.
// display literal Text _c1r.Field[0].Text = "Sales Tax"; _c1r.Field[0].Calculated = false; // display a calculated value _c1r.Field[1].Text = "Sales * 0.085"; _c1r.Field[1].Calculated = true;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2