on 09-14-2015 5:32 PM
Hi All,
I created like 100 CR X1 reports that pull data from our system that uses Advantage Database but now out system will be upgrade to SQl database
So I need to change all my reports to read the new database and tables. I know how to save the report definition one by one.
My question is there any other form to print/save the report definiton massively way.
Thanks
Jose C
Ludek,
I am susing CR 2011 14.0.10.1493 RTM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good news - if you have VS 2010 / 2012 / 2013 (support of 2015 coming within a few weeks).
In any case, the runtime is free for win apps and you can download it from here:
On your dev computer, use the install exe. This will setup CR to work in VS. (MSI, MSM, ClickOnce are only for distribution).
So, now you will need some resources to get you going. The developer Help Files are always a good idea:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
The following doc is a gem and despite the title, it applies to all versions of VS:
Crystal Reports for Visual Studio 2005 Walkthroughs
there are also sample apps available for download from here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
You will want to start with vbnet_win_simplepreviewreport.zip and vbnet_win_dbengine.zip.
My recommendation would be to start simple. E.g.; a report with no subreports or parameters. The start increasing the complexity. Use the search box in the top right corner if you need more info. And keep asking questions if need be - but do create new discussions per issue as you hit on em.
- Ludek
Hi Jose,
For only 100 reports it would take you far less time to manually update the reports than write an application to do the same.
The problem is in an App you have to add a lot of error handling because the SDK will not allow you to map fields manually. It auto-maps the fields and if the SDK cannot resolve the field types it simply deletes the field which of course breaks your report. So now you have to manually "fix" the report anyways.
So I suggest rather than spending a few weeks writing an app and debugging it, it would be a lot quicker to simply update the reports in CR Designer and then use the Verify Database function and preview the reports to validate they are returning correct data.
Don't for get to update the subreport connections also....
Don
Hi Jose
There is, but you'd have to use one of the CR SDKs and build and app that will do this for you. There may also be 3rd party utilities that will do the trick (for example you may want to google Hammady and crystal).
If you prefer to build your own app, let me know what CR SDK you'd like to use and I will set you up with resources to get you started.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is free, kinda... maybe... depends...
We'll have to talk a bit about versions of CR here;
You mention you have CR XI. This does not tell me if you are using Crystal Reports 2011 (v. 14.0.x), or Crystal Reports XI (v. 11.0) or Crystal Reports XI R2 (v. 11.5). Each of those have it's own ramifications. Also the development tool you will use has it's own ramifications. So until I know the version of CR and the development tool (including version), I can't give you more details (well I could but all that would be good for is night time reading when you can't fall asleep )
- Ludek
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
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.