on 09-12-2014 4:51 PM
Hi,
Can anyone help me with this issue. I couldn't find a solution for this problem.
I have a storedprocedure that has one field optional
@ReportID VARCHAR(14) = '0X000000000000'
In Report I have 30 parameters Field [no ReportID field as its optional in storedprocedure].
1. In visual studio 'Main Report Preview' It prompts me for 30 parameters [Working fine]
2. I run the code in web with nothing filled. When it prompts it shows me 31 parameters. Why is it asking me that optional parameter.
Current fix [not a perfect one]
. Planning to modify the storedprocedure and report, which mean I have to modify a lot of report which uses that storedprocedure.
Is there other alternative for this fix.
Code used
Asp.net/C#
Crystal report XI
Thank you
Lakpa
What is the exact version of CR: 11.0.x or 11.5.x?
What version of .NET?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmm. Version 11.0.0.2491 is from Crystal Reports XI which is about 5+ years out of support. To use CR with VS 2013, you must have "SAP Crystal Reports, Developer Version for Visual Studio .NET", Service pack 10. This will give you version 13.0.10.x. Version 11.0.0.2491 is not supported in CRVS.
CR assemblies referenced in your project should have version 13.0.2000.x.
- Ludek
OK. If those are the CR references, then your app will be using crpe32.dll of version 13.x. I still do not know if you are using SP 10, but let's assume you are... Please see if the following will help:
HOW TO PASS OPTIONAL PARAMETERS IN CRYSTAL REPORT | The ASP.NET Forums
Also see this:
- Ludek
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.