on 11-09-2011 7:50 PM
Hi. We are in the process of upgrading our software to Crystal Reports 2011, Oracle 11 and Visual Studio 2010. We have a small Visual C# application that opens up various Crystal reports. Some of the individual reports contain 20 to 25 subreports. The main report and every subreport returns a cursor from a stored procedure. Each stored procedure is housed in a different package. Everything works fine, but I dont really like that we have to hardcode the names of the packages that contain each stored procedure (for every report and subreport we use).
CrTable.Location = strTableOwner.ToUpper() + ".PACKAGE_NAME." + CrTable.Location;
Hardcoding the package name seems prone to errors. Is there a way around this so the Visual C# application can determine the name of the package that contains the stored procedure?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bhushan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We use Crystal Reports 2011 to builld the reports but we do have Crystal Reports for Visual Studio 2010 installed so we can integrate the reports into Visual Studio.
It's no big deal if we have to hardcode the package names - but i thought there might be a cleaner way of doing this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.