CommandTextOriginal Element (Microsoft Excel)

Contains the ODBC command text used to query data from a data source.

Contained In

QuerySource

Remarks

The command text is an SQL query string. The same command string can be split among several consecutive CommandTextOriginal elements.

This element is specified only for PivotTable reports that have server-based page fields.

Example

See the example in the PivotTable element topic.