“Report” object

Top  Previous  Next

This object represents a link to the current report. The properties of this object can be seen when selecting the “Report” element in the “Report tree” window.






function Calc

(const Expr: String): Variant

returns the value of “Expr”, which is an expression

for example, Report.Calc('1+2') returns “3”

any valid fastReport expression can be passed

in the parameter

function GetDataSet

(const Alias: String): TfrxDataSet

returns the dataset having the specified name

the dataset must appear in the report's dataset list

(“Report>Data...” dialogue)