Top Banner
CRYSTAL REPORTS BY AMBREEN GILLANI
13
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Crystal report

CRYSTAL REPORTS

BY

AMBREEN GILLANI

Page 2: Crystal report

Crystal Report

Crystal Report is a Reporting application that can generate reports from various Data Sources .

We can Create Reports , Print and Print Preview of reports from Crystal Reports .

Crystal Reports are compatible with most popular development environments like VB.NET etc. and SQL Server also .

Page 3: Crystal report

Developing Crystal Report from a database

Page 4: Crystal report

Step 1 Open Visual Studio.

Create a new windows form application.

Add a Crystal Report to that form.

Page 5: Crystal report

Step 2 Then Use a standard report style for your crystal report document and click .

Page 6: Crystal report

Step 3 Then click on

Then select OLE DB (ADO) from it and select SQL native client 11.0 and click

Page 7: Crystal report

Step 4 Then add the server name.

And Add the already created or create a new database and select it.

And check integrated security check box and click .

Page 8: Crystal report

Step 5

Then this appears….

Click this to add the table to your report document and then click .

Page 9: Crystal report

Step 6 Then insert text to the report header.

After this, drag and drop required fields from the table that appears on the field explorer, to the details column of the report.

After this press ctrl+S to save your crystal Report.

Page 10: Crystal report

Step 7 Then Go to windows form and click on toolbox:

Reporting CrystalReportViewer and drag and drop it to the form.

Then by clicking this choose the crystal report you want to display on the form.

Page 11: Crystal report

Step 8 Then click on start…..

Then The report corresponding to the selected Database appears.

Page 12: Crystal report

Crystal Report Guidelines…..

These Steps shows how to simply create a crystal report from a database.

We can link two or more databases and also show relations between them and then display them on the crystal report.

Crystal report can only be viewed on the windows form by adding a CrystalReportViewer available in toolbox.

Page 13: Crystal report

END

Thankyou For watching!