How to Create Reports using Crystal Reports

This tutorial will teach you on how to create reports in Visual Basic .NET 2008 using Crystal Reports. This is a step by step guide on how I create the report on "Weekly Sales Report using Crystal Reports".

This guide is not intended for advance user. So please don't react if you find a basic explanation on this tutorial.

This assumes that you have already attached the database that is included in the zip file of "Weekly Sales Report ".

1. Open the Weekly Sales Report using Crystal Reports project and follow the following procedure.

Crystal Reports Tutorial

Click on Project menu >> Add New Item.

2. Add New Item dialog box will then appear on your screen.

Crystal Reports Tutorial

Type the filename

3. Crystal Reports Gallery

Crystal Reports Tutorial

Select "Using the Report Wizard" and Standard on "Choose and Expert" then click OK.

4. Standard Report Creation Wizard and OLE DB (ADO)

Crystal Reports Tutorial

Select Microsoft OLE DB Provider for SQL Server.

5. OLE DB (ADO) - Connection Information

Crystal Reports Tutorial

Type the Instance name of the SQL Server and the database name.

6. OLE DB (ADO) - Advanced Information

Crystal Reports Tutorial

7. Select Data or Table/View name

Crystal Reports Tutorial

8. Select Fields

Crystal Reports Tutorial

Select Next and configure the necessary option that you like on the next screen until you reach the screen below.

9. Report Style

Crystal Reports Tutorial

10.Weekly Sales Report design mode

Crystal Reports Tutorial

In the design mode, configure your report whatever design that you like.

That's it. I hope you learn something on this simple tutorial.

Comments

I am begining crystal report

Hi, How do I convert a stand alone application created using vb2010 into a client server application

It depends on the database you are using. If you use MS Access then all you need is to map the folder where you save the database file. If you use SQL Server then you just simply change the connection string dynamically during runtime.

in step 4.3 you are selecting sql server but i m using ms access so wt should i select.. can i select microsoft jet4.2-- something .. and which code is used in report viwer for generating report

Add new comment