The Expression Evaluation Engine in Indigo DRS Report Engine can evaluate complex mathematical equations and formulas. Scientific, engineering and mathematical reports can be created using the Expression Evaluation Engine. The Report Designer features an Expression Editor which includes common functions, constants and units allowing formulas and equations to be calculated and included in the report design.
Report Expressions can be applied to Report Fields. Report Fields are used to display Data in the Report.
Expressions are mathematical equations and formulas that are Evaluated by the Expression Evaluation Engine.
Specify a Name for the Field, Formatting and Expression using the Property Grid. Clicking the Expression button will open the Expression editor.
Enter a Formula and click the Evaluate button to get the Expression Results.
Inserting a built-in function into the Expression Editor is easy open the Insert Function dialog from the Insert menu. Fixed constants and units can also be inserted into the expression.
The Expression Evaluation Engine can Evaluate most mathematical equations, expressions and formulas.
Click OK to apply the Expression to the Report Field.
There are many options for formatting Field Data. Select the best formatting option to display the Field Data according to your requirements. Data can be formatted for Time, Date, Currency and various Functions applied to manipulate Data.
Report Conditional Rules can also be applied to Fields to determine if the content is displayed or not. Report Rules are XQuery expressions that return True or False and determine if Content is Enabled. By Default if empty the Rule will always be True.
To display the Report Field in the Paragraph it needs to be added to the Paragraph using the HTML Content Editor.
Click OK to Insert the Field into the Content Editor.
The Report Content will now display the Expression Results for the Field Name.
XML namespaces are used for providing uniquely named elements and attributes. If the Data Source contains Namespaces they can be applied to the XQuery Processor.