-
Notifications
You must be signed in to change notification settings - Fork 3
PivotTable
PivotTable
This class contains the properties and methods directly related to the pivot table.
- Aggregator
- AggregatorField
- Control
- DisplayIn
- IsInteractive
- RendererName
- SaveHtmlFileForDebugging
- WebBrowserActiveX
- WebBrowserControl
The following sections contain a detailed description of the properties and methods.
Name of the function which is applied to the pivottable.
Count
Set myPivot.Aggregator = "Sum"
Name of the field on which the function is applied.
--
Set myPivot.AggregatorField = "ExtendedPrice"
This property is write only.
This property accepts an object and assigns that control to the appropriate property according to its type.
--
Set myPivot.Control = Me.ctlWebbrowser
WebBrowserActiveX, WebBrowserControl
Here you can specify where the pivot table is shown. The following values are available:
- chWebBrowserControl
- chWebBrowserActiveX
- chSystemBrowser
chWebbrowserControl
myPivot.DisplayIn = chDisplayIn.chWebbrowserControl
This method is called by via the BAPT__Factory, when a new instance of BAPT_PivotTable is created
- WebBrowserControl
myPivot.Init Me.ctlBrowser
--
With this property you can specify if the pivot table is interactive.
In an interactive pivot table the user can interact with the data.
If the pivot table is not interactive the data is only shown and cannot be rearranged.
True
myPivot.IsInteractive= True
--
Specifies how the pivotable is rendered.
Table
Set myPivot.RendererName = "Heatmap"
When set to true the html string is saved in a file for debugging.
Path: Current Project
Filename: BetterAccessChart_{WebBrowserControlName}.html
False
myPivot.SaveHtmlFileForDebugging = True
--
Calling this method creates the pivot table and displays it in the control specified via "DisplayIn" property.
myPivot.ShowPivot
In this property you pass a reference to the web browser activex control in which the pivot table is to be displayed.
By setting this property the value for the property DisplayIn is set to "chWebBrowserActiveX".
--
Set myPivot.WebBrowserActiveX= Me.ctlWebbrowserActiveX
DisplayIn, Control, WebBrowserControl
In this property you pass a reference to the web browser control in which the pivot table is to be displayed.
By setting this property the value for the property DisplayIn is set to "chWebBrowserControl".
--
Set myPivot.WebBrowserControl= Me.ctlWebbrowser