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, Pivot table.SelectOccurrence is kept for backward compatibility. This function is replaced by <Pivot table>.SelectCount.
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 = PVT_MyPVT.SelectCount()
FOR i = 1 TO nbSel
pvtPos = PVT_MyPVT.Select(i)
Trace(pvtPos.COL_Today_Date + ":" + pvtPos.COL_Product))
END
Syntax
<Result> = <Pivot Table control>.SelectCount()
<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.
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help