File talk:TRG TempTablesReports.xpo

Object not initialized error message
After importing the project, every first time a user executes the report you get an error message:

Error executing Code: object not initialized Stack trace (S)\Classes\\SetRecord ...

This is caused by the fetch method of the report. The SysQueryRun Object isn't initialized. This can be solved by replacing the fetch method by this one:

public boolean fetch {     boolean ret; SysQueryRun sysQueryRun; //RC 20090618 ;     sysQueryRun = new SysQueryRun(this); //RC 20090618 if (tempTablesReport) //this.queryRun.setRecord(tempTablesReport.parmTempTable); //old code sysQueryRun.setRecord(tempTablesReport.parmTempTable); //RC 20090618 ret = super; return ret; }

--LegeDoos 05:14, 18 June 2009 (EDT)