Public Function SetVariableValue(val as Microsoft.ReportingServices.ReportProcessing.OnDemandReportObjectModel.Variable, newval As Integer) as Integer val.Value = val.Value + newval Return Val.Value End Function
Asked
Active
Viewed 158 times
0

Ullas
- 11,450
- 4
- 33
- 50

s.keerthi vidhyasagar
- 11
- 1
- 5
-
Im facing error as There is an error on line 2 of custom code: [BC30526] Property 'Value' is 'ReadOnly'. – s.keerthi vidhyasagar Sep 20 '17 at 10:30
-
Check this if it helps https://blogs.msdn.microsoft.com/selvar/2012/02/03/modifying-report-variables-in-reporting-service-2008-r2/ – niktrs Sep 20 '17 at 11:01