on 09-26-2008 10:21 PM
Hi
I am creating a report scheduler tool for my company. User will select the report to be scheduled, a page with the parameter will be prompted. User enters the value and hit the save button. This parameter page is created dynamically at runtime.
When the user save the values, I need to capture parameter values and save to database.
In ASP.Net page, when you create the controls dynamically, it is not available during the postback.
Can someone help me with some solution.
Thanks
Are you using Crystal Reports for this? If so, what version of Crystal reports are you using and what version of .NET are you using?
When you say:
" This parameter page is created dynamically at runtime."
Are you refering to the Crystal Reports "parameter page"?
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
I solved the problem using the Viewstate in ASP.Net form. My problem was retrieving the value from the textbox.
Thanks for your thoughts and helping me solve this issue.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you pass a parameter value to a report it will be stored in the CurrentValues collection. Have you looked at the ReportDocument.ParameterFields collection? This is a collection of ParameterField objects. You'll want to loop through and save all the CurrentValues from the ParameterField object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ludek
1) I use Crystal Reports 2008.
2) At run time based on the user selection, I create a report parameter page in ASP.Net form dynamically.
The reason I do this is to capture the parameters entered by the user into the database and run the report later during the night as batch process.
I hope you understand my requirement.
Thanks
Pranesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Umm, not really. OK, I understand the you:
1) Create a report parameter page in ASP.Net form dynamically
2) Capture the parameters entered by the user into the database
Then you have some sort of post back issue...
So far, you have not used Crystal Reports in the above(?). Where ' how does Crystal Reports come into play here?
Ludek
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.