Access a named parameter in an RDLC report in local mode

  • Thread starter Thread starter dbuchanan
  • Start date Start date
D

dbuchanan

I need information on how to programmatically access a named parameter
within an RDLC file associated with a ReportViewer in local mode.

I also want to verify that a parameter set up like this
=Fields!personID.Value will return what I am expecting.

For example if "LName" is displayed in a box and the parameter name is
'person_id' with the associated parameter value =fields!PersonID.Value then
when the user clicks on the textbox with "George" then the ID for george
will be available in that parameter and can be obtined programatically from
the ReportViewer1_Drillthrough event.



Thanks,

Doug
 
once you load the report into the viewer control you can access the parameters.

rptViewer.ServerReport.GetParameters()


-- bruce (sqlwork.com)
 
Back
Top