Is it possible to change a ReportParameter within the NeedsDataSource event so that it can be used as a global variable.
I'm maintaining some stupid code and it has the same ugly check on the majority of the TableGroup Filters and what I would like to do is simply set a ReportParamerter at runtime so that value can be reused in an Expression or passed to UserFunctions.
/* Ugly and long check here */
becomes
= Parameters.ShowLeftCol.Value = =True
I can update the ReportParameter value, but the instance of it within the rendering engine is not updated. Any suggestions
The logic to show the Column resides in configuration data within a different datasource then the one bound to the table.
Any ideas or suggestions would be most appreciative.
Thanks
I'm maintaining some stupid code and it has the same ugly check on the majority of the TableGroup Filters and what I would like to do is simply set a ReportParamerter at runtime so that value can be reused in an Expression or passed to UserFunctions.
/* Ugly and long check here */
becomes
= Parameters.ShowLeftCol.Value = =True
I can update the ReportParameter value, but the instance of it within the rendering engine is not updated. Any suggestions
The logic to show the Column resides in configuration data within a different datasource then the one bound to the table.
Any ideas or suggestions would be most appreciative.
Thanks