Hi,
I have a report. These columns in this report getting in the database. I had to push data to report success. And now, I need to add some variables to the report (ex : DateTime, Address ...) but it did not work. Please help me!
In my code :
mrt file:
But Report:
This is my example.
Thanks so much! ^^!
Value of the variable in dynamic columns report ?
-
- Posts: 2
- Joined: Fri Oct 03, 2014 8:26 am
Value of the variable in dynamic columns report ?
- Attachments
-
- Sample.zip
- (6.54 KiB) Downloaded 140 times
Re: Value of the variable in dynamic columns report ?
Hello.
You should set the variable's value different way.
This code works after compiling the report.
But you should use code like next:
or add the report.Compile() before the assignment to the LBLDate variable.
Thank you.
You should set the variable's value different way.
This code works after compiling the report.
But you should use code like next:
Code: Select all
report.Dictionary.Variables("Variable1").Value = yourCancatenatedString
Thank you.
-
- Posts: 2
- Joined: Fri Oct 03, 2014 8:26 am
Re: Value of the variable in dynamic columns report ?
Thank you very much ^^!
Re: Value of the variable in dynamic columns report ?
We are glad to help you! Have a nice day!