ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Pivot Table functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 24, PVTSelectOccurrence is kept for backward compatibility. This function has been replaced with 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: wd300obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help