Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8509

Re: HELP NEWBIE Integrating CR into Visual Basic 2010 pro

$
0
0

Hi William,

 

Could you provide the version of CR and VS you are using?

Also, have you designed the report? do the report work fine from CR designer?

 

Designing Crystal reports from designer and viewing them from a .NET application are two different things. For a report to work fine from application, it is important that the report should work fine from designer. It is the CR designer where you could connect to the database and drop the DB fields on the report. Once the report is designed and works fine when refreshed then it can be viewed from a .NET application.

 

To design a report,

- start a new app in VS

- add a new item as a Crystal Report. It will automatically launch the reportcreation wizard for you.

Select the database and add the fields to the report.

 

The simplest VB.NET application to view reports is using below procedure.

- Start a new app in vosual studio.

- Drag a Crystalreportviewer from toolbox and drop on the form.

- Assign a reportsocurce as your report to the viewer and run the app.

- reprot will prompt for the DB credentials.

 

And then you could go on adding code to your app..

 

See the CR.NET sample applications here: http://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports+for+.NET+SDK+Samples

- Bhushan

Senior Engineer

SAP Active Global Support

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Getting started and moving ahead with Crystal Reports .NET applications.


Viewing all articles
Browse latest Browse all 8509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>