2.4.166 BrtBeginPCDSource

The BrtBeginPCDSource record specifies the properties of PivotCache (section 2.2.5.2) source data (section 2.2.5.2.1) and specifies the beginning of a collection of records as defined by the PivotCache Definition (section 2.1.7.38) part ABNF. The collection of records specifies properties of the source data of a PivotCache (section 2.2.5.2).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

iSrcType

dwConnID

iSrcType (4 bytes): An unsigned integer that specifies the PivotCache source data type. This value MUST be a value from the following table.

Value

Meaning

0x00000000

Sheet source data.

0x00000001

External source data.

0x00000002

Multiple consolidation range (section 2.2.5.2.1.1) source data.

0x00000003

Scenario source data.

If this value is 0x00000000, the collection MUST contain the BrtBeginPCDSRange (section 2.4.167) record; the source data is specified by the range or namedRange field in the BrtBeginPCDSRange record in this collection.

If this value is 0x00000002, the collection MUST contain the BrtBeginPCDSConsol (section 2.4.150) record; the source data is specified by the BrtBeginPCDSConsol collection in this collection.

dwConnID (4 bytes):  An unsigned integer that specifies the unique identifier of the external connection (section 2.2.8). This value MUST be ignored if iSrcType is not 0x00000001. If iSrcType is 0x00000001, it MUST be greater than 0x00000000 and it MUST match a dwConnID value in one of the BrtBeginExtConnection (section 2.4.80) records in the External Data Connections (section 2.1.7.24) part.