• We just launched and are currently in beta. Join us as we build and grow the community.

Creating a Report in a Student Registration Using Crystal Reports part 1

R3aL

Cross-Language Interoperability Expert
R Rep
0
0
0
Rep
0
R Vouches
0
0
0
Vouches
0
Posts
99
Likes
113
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
In my previous tutorial I created a search and delete data in the Student’s Registration Form. Today, I will teach you how to generate a report using a Crystal Report in the Visual Studio 2008 and MySQL Database.

First, you have to set up your data source and the drivers in ODBC data source.

Now, open your ODBC data source that can be found in Administrative Tools.

odbc_data_source.png


Click the add button for creating a new data source.

new_data_source.png


Then, scroll down and select a driver of MySQL ODBC 5.1 Driver because you are using a MySQL Database. After that, hit Finish.

select_drivers.png


Now, the configuration of your MySQL Connector /ODBC data source will show.

connector.png


Set your data source named “Students”,leave the description blank. The server is the “localhost “and the user is “root”. leave the password blank, then select the database of the student registration named “studentdb”. Test your connection and hit “ok”.

config_0.png


Now, the data source name will show in the list of ODBC Data Source. After that, hit “ok”.

last.png


In this, you can access the database of a student when you are creating a report in the Crystal Reports.

You will know what I’m taking about on my next tutorial.

 

452,292

323,340

323,349

Top