ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Pivot Table functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 24, PVTSelectOccurrence is kept for backward compatibility. This function is replaced by PVTSelectCount.
Returns the number of selected cells in a Pivot Table control.
Example
// Loop through the selected cells
pvtPos is pvtPosition of PVT_MyPVT
 
nbSel is int = PVTSelectCount(PVT_MyPVT)
FOR i = 1 TO nbSel
pvtPos = PVTSelect(PVT_MyPVT, i)
Trace(pvtPos.COL_Today_Date + ":" + pvtPos.COL_Product))
END
Syntax
<Result> = PVTSelectCount(<Pivot Table control>)
<Result>: Integer
Number of selected cells in the Pivot Table control.
<Pivot Table control>: Control name
Name of the Pivot Table control to be used.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/04/2023

Send a report | Local help