TRVReportTableCellData.DataQuery

<< Click to display table of contents >>

TRVReportTableCellData.DataQuery

A string containing a data query.

property DataQuery: TRVUnicodeString;

An example of a DataQuery is a SQL query, like 'SELECT * FROM MyTable'.

TRVReportGenerator creates a query processor for this data query. This query processor returns data for this query, and the report generator replicates a content of this cell as many times as many records in the returned data. Then the report generator processes these replicated contents, replacing data fields in them accordingly.

A direct assignment to this property cannot be undone by the user. Use Table.SetCellDataQuery to assign a new value to this property as an editing operation.

Default value:

'' (empty string)

See also

Definitions of Report Workshop terms

Information about data queries

TRVReportDocObject.DataQuery

TRVRowGenerationCustomRule.DataQuery

TRVCrossTabLevel.DataQuery