We have a report viewer that is used to switch between different reports. Right now the window is setup to just show 2 different report viewers and we are wanting to just use 1 viewer and switch the path dynamically. This is no problem. The problem is that each report is expecting a parameter which kicks off the query for the report. My question is: Is there a way to get the parameter name from the Report viewer so we can load the required info into the parameter once that parameter exists? Thanks.
[property.name for property in reportViewer.properties] should give you all the names, given
reportViewer as a reference to some report viewer component.
Thanks I’ll give it a shot. Does the “x.properties” apply to any component?
Basically, yes, anything that supports custom properties will support