PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
<Pivot table>.SelectCount (Function)
In french: <Tableau croisé dynamique>.SelectOccurrence
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
// Browse the selected cells
pvtPos is pvtPosition of PVT_MyPVT
 
nbSel is int = PVT_MyPVT.SelectOccurrence()
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 Pivot Table control to use.
Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment