Skip to Content
Former Member
Aug 01, 2009 at 09:13 AM

Missing parameter values - mystery solved


I've tracked down why I was getting this error to the refresh method of the ReportDocument object.

The sequence of execution is as follows;

load report

get/set parameter values

set database location

refresh report

export report

The refresh step clears all the parameter values and defaults. I can't believe that this is correct behavour but hey ho, I'll try and work around it by saving all the parameter values to local storage when I open the report and then reset them after the refresh.

Is this correct?