PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Specifying the headers
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Used to:
  • Specify the row and column headers displayed in a Pivot Table control.
  • Versions 20 and later
    Find out the row and column headers displayed in a Pivot Table control.
    New in version 20
    Find out the row and column headers displayed in a Pivot Table control.
    Find out the row and column headers displayed in a Pivot Table control.
Example
// Specifies the row and column headers
IF CBOX_ReverseAxis = True THEN
PVT_Stats.AxisXY("COL_Date" + CR + "COL_Product", "COL_Salesman")
ELSE
PVT_Stats.AxisXY("COL_Salesman", "COL_Date" + CR + "COL_Product")
END
Syntax

Specifying the row and column headers Hide the details

<Pivot Table control>.AxisXY(<List of column headers> , <List of row headers>)
<Pivot Table control>: Control name
Name of Pivot Table control to use.
<List of column headers>: Character string
List of column headers (displayed on the X axis). This list contains the different column headers separated by CR characters (Carriage Return).
This list can use one of the following syntaxes:
  • <Name header 1>..Name + CR + ... + CR + <Name header N>..Name
    Example:
    COL_Date..Name + CR + COL_Product..Name
  • "<Name header 1>" + CR + ... + CR + "<Name header N>"
    Example:
    "COL_Date" + CR + "COL_Product"
<List of row headers>: Character string
List of row headers (displayed on the Y axis). This list contains the different row headers separated by CR characters (Carriage Return). This list can use one of the following syntaxes:
  • <Name header 1>..Name + CR + ... + CR + <Name header N>..Name
    Example:
    COL_Date..Name + CR + COL_Product..Name
  • "<Name header 1>" + CR + ... + CR + "<Name header N>"
    Example:
    "COL_Date" + CR + "COL_Product"

Finding out the row and column headers Hide the details

<Result> = <Pivot Table control>.AxisXY()
<Result>: Character string
List of row and column headers displayed in the Pivot Table control. This list has the following format:
<Name header column 1> + CR + ...+ CR + <Name header column N> + EOT +
<Name header row 1> + CR + ...+ CR + <Name header row N> + EOT +
<Name filter 1> + CR + ... CR + <Name filter N>
For example:
COL_OrderDate + CR + COL__OrderDate_Quarter + CR+
COL_OrderDate_Month + EOT + COL_Country + CR + COL_City + EOT + PVT_Caption
<Pivot Table control>: Control name
Name of Pivot Table control to use.
Remarks

Specifying the headers

  • The Pivot Table control does not have to be re-calculated and the display is immediate.
  • The specified headers must correspond to existing headers. You can for example:
    • reverse the row and column headers.
    • specify fewer headers than the ones defined in the control.
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment