SaveResults (Property)

Applies To:

QuerySection object

Description:

Returns or sets the value of the Save Results with document option. To save the Results set of a query and computed columns as a snapshot in a document, set this property to true.

Save the Results set with a query to analyze and generate reports without having a database connection. Results are saved for any queries for which results exist.

Note:

Saving Results in documents is performed on a query-by-query basis.

Action:

Read-write, Boolean

Example:

This example shows how to save the results with a sample Query section, SalesQuery:

ActiveDocument.Sections["SalesQuery"].SaveResults=true