PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → exception when executing pivot table
exception when executing pivot table
Débuté par Abhishek, 27 avr. 2025 07:46 - Aucune réponse
Posté le 27 avril 2025 - 07:46
Hey I am

encountering error as cannot open pvt table file - even though this is UI method






[code:wl]
//
// This optimize the calculation time of the pivot table
//

sFileName is string

sFileName = fTempPath() + ["\"] + PVT_pvt_tab01..FullName + ".wdolap"

IF PVTLoad(PVT_pvt_tab01, sFileName) THEN
PVTCalculateUpdate(PVT_pvt_tab01)
ELSE
PVTCalculateAll(PVT_pvt_tab01)
END

PVTSave(PVT_pvt_tab01, sFileName)

// If you want to systematically calculate the pivot table at each startup
// Use PVTCalculateAll(<Table>)
[

/code]