This method adds row fields, column fields, page fields and data fields in a DataPilot table.
Defined in
Syntax
public void addFields(String [] rowfields, String [] colfields, String [] datafields,String[] pageFields, int function) throws SymphonyException
Parameters
String [] rowfields
Specifies a field name or an array of field names to be added as rows. Each field must be a column of the DataPilot table's source range.
String [] colfields
Specifies a field name or an array of field names to be added as columns. Each field must be a column of the DataPilot table's source range.
String [] datafields
Specifies a field name or an array of field names to be added as data. Each field must be a column of the DataPilot table's source range.
String[] pageFields
Specifies a field name or an array of field names to be added as page field. Each field must be a column of the DataPilot table's source range.
int function
Summarizes the DataPilot table field, and can be of a general function constant type.
Usage
If the parameters contain invalid fields, this method throws an exception.
See examples