Monday, May 31, 2010

Disallow system to remember Last Query Used values on filters

on the init of the report

public void init()
{
    SysQueryRun sysQueryRun;
    ;

    super();

    this.queryPerfTable(); //do your query stuff here

    //these code lines stop the system from remembering last used values
    sysQueryRun = new SysQueryRun(element.query());
    sysQueryRun.promptLoadLastUsedQuery(false);
    element.queryRun(sysqueryRun);

}

No comments:

Post a Comment