PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → exception when executing pivot table
exception when executing pivot table
Iniciado por Abhishek, 27,abr. 2025 07:46 - No hay respuesta
Publicado el 27,abril 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]