Hello Garry,
Yes this can be done. I have a class that fills the data of the variable from the window and when it is time to print a pass 1 array for the rows and 1 structure variable for the header of the class to the print window.
The button from the window
clTrInstall is clTRInstallList
clTrInstall.cm_TR_InstallQuery(nLoadID)
clTrInstall.cm_ReportHeader(nLoadID)
iPreview(100)
iPrintReport(RPT_TR_Load,clTrInstall.m_arrInstallList,clTrInstall.m_LoadInfo)
//In the report the same arrays from the class are used.
PROCEDURE RPT_TR_Load(arrInstallList is array of clTRInstallList.stInstallList,gstLoadinfo is clTRInstallList.stLoadInfo)
DW