PTSource element

Contains information describing the data source of the PivotTable view.

Usage

      
<PTSource />

    

Element Information

Element type PTSourceType
Namespace urn:schemas-microsoft-com:office:excel
Schema name XML Spreadsheet 2000

Elements and Attributes

Parent Elements

Element Description
PivotTable Contains information about a PivotTable view.

Child Elements

Element Description
CacheFile Specifies the name of the XML file that contains the PivotTable source data.
CacheIndex Specifies the PivotCache associated with this PivotTable.
DataMember Contains either the MDX query that represents the source of the data for an OLAP-based PivotList control or the value XLDataSource.
MissingItemsLimit Specifies the maximum number of PivotItems not appearing in any records that are to be retained when a PivotTable view is refreshed.
VersionRefreshableMin Specifies the minimum version of Excel required to be able to refresh a PivotTable cache.
VersionLastRefresh Specifies a number indicating which version of Excel last refreshed the PivotTable view.
RefreshName Specifies the name of the user who last refreshed the PivotTable view.
RefreshDate Specifies the date on which the PivotTable view was last refreshed.
RefreshDateCopy Specifies the date on which the PivotTable view was last refreshed. Duplicates the RefreshDate element.
ConsolidationReference Describes the file and worksheet range that the PivotTable view is based on when the PivotTable view is created from an Excel list or database.
NoSaveData Specifies a Boolean indicating whether the supporting PivotTable data should be saved.
QuerySource Describes the data source that the PivotTable view is based on when the PivotTable view is created from an external source.
SourceConsolidation Describes the files and worksheets range that the PivotTable view is based on when the PivotTable view is created from multiple consolidation ranges.
BackgroundQuery Specifies a Boolean indicating whether the supporting data for the PivotTable view is read in the background, allowing the user to do other work in Excel.
CubeSource Specifies a Boolean indicating if the data source is an OLAP cube.
DisableRefresh Specifies a Boolean indicating if PivotTable refresh is disabled.
HasNoRecords Specifies a Boolean indicating that the last refresh returned zero records from the data source.
OptimizeCache Specifies that the PivotTable view use less memory to store the records from the data source.
RefreshOnFileOpen Specifies that data be fetched whenever the spreadsheet is opened.

Attributes

None.

Definition

      
<xsd:element name="PTSource" type="PTSourceType" minOccurs="0" >
</xsd:element>


    
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp