Skip to Content
0
Former Member
Jul 14, 2009 at 08:09 PM

Parameter prompting not suppressed after passing values

17 Views

Hi there,

I have created a report with 7 parameters. I have via code-behind passed the values I require to the report using the SetParameterValue option. If I insert a break point just before I refresh the report I can see that the report has all 7 values set and hascurrentvalue is equal to yes. When I refresh the report it still prompts for all 7 parameters. Order of code as follows:

1. create new ReportDocument

2. load report using Server.MapPath

3. set parameters

4. set RecordSelectionFormula

5. set report source to 1

6. refresh report

Not usre what I am doing wrong

Any help would be appreciated.

Thanks,

Garth.