on 2012 Jan 24 1:04 PM
Hi,
I am developing crystal report 2008 with C# .NET 2010.
Environment:
OS : Windows 7
Report designed in CR2008
.NET Framework 4 (VS2010)
Running in CR for VS2010 (13_0_2)
I am passing a value to the report paramter filed through .NET code. (i.e. Name of the user who logged into the application - This I created a report parameter field in the report and pass value to it from .NET code using rpt.setParameterValue("UserName", "Mani") ) . What happens is When I run the application sometimes unpredictably I am getting parameter panel prompting for value eventhough I have passed value to it in the code. Do not know why?
How to resolve it?
Please help me Sir.
Regards,
Mani g.s.
You would only see the parameter prompting page if you either didn't pass a value, or the value you passed was not a valid value for that parameter, ie, you passed a string value to a parameter that expected a number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mani,
Check if you are refreshing the reportdocument object after passing the parameter values, comment the refresh method.
Uncheck the Save data with repotr option in the designer.
- Bhushan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
11 | |
10 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.