You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
Description
Creates a new PivotTableField of the appropriate type in a FieldCollection
Parameters
field
The
SourceField to build the
PivotTableField from.
Returns
A new
PivotTableField.
The name of a field defaults to the name of the SourceField unless the field is a DataField, or a field with that name already exists in the table. All DataFields will have a unique number appended to the end. If a DataField name was changed later to be the name of the SourceField, a RowLabel, ColumnLabel, or PageField created from the same SourceField will have a unique number appended to the end.