Hello,
i wants to provide report all data and wants to filter data before rendering as per requirement with variables
i.e. Suppose i wants to get client list of India, and USA, but i wants to use "select * from client" query and wants to set variables in report to show records for required countries.
I am providing countries from visual studio.net
Please help me if it is possible.
Rohit Gupta
Filter report data before rendering
-
- Posts: 7
- Joined: Mon Feb 07, 2011 5:36 am
- Location: INDIA
Filter report data before rendering
Hello,
f we have correctly understood your problem. You can add variables to the report, use them in the data filter and their values are passed from your application code as follows. If a report is not compiled then you can use the following code:
else
Thank you.
f we have correctly understood your problem. You can add variables to the report, use them in the data filter and their values are passed from your application code as follows. If a report is not compiled then you can use the following code:
Code: Select all
report.Dictionary.Variables[MyVariable].Value = Value;
Code: Select all
report[MyVariable] = Value;