Query.report Method
Returns the report in which the query is defined, if the report exists.
Syntax
public Report report()
Run On
Called
Return Value
Type: Report Class
The report in which the query is defined, under the data sources node.
Remarks
A query is not necessarily defined in the context of a report. The inReport method may be used to determine whether a query is defined in the context of a report.