PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → exception when executing pivot table
exception when executing pivot table
Iniciado por Abhishek, abr., 27 2025 7:46 AM - Sem resposta
Publicado em abril, 27 2025 - 7:46 AM
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]