Sample Database for running Crystal Reports tutorials
In the subsequent section, you will be guided through the process of creating a sample database, along with its respective tables and data, which will serve as the foundation for running the Crystal Reports Tutorials. It is important to note that all examples featured in the VB.NET Crystal Reports Tutorials are built upon this specific database.
To initiate the process, the first step entails creating the database itself. Assign the name "crystaldb" to this database, ensuring a unique and identifiable designation.
Create a DataBase "crystaldb"
In the crystaldb database , create three tables.
- OrderMaster
- OrderDetails
- Product
OrderMaster
- OrderMaster_id
- OrderMaster_date
- OrderMaster_customer
- OrderMaster_createduser
OrderDetails
- OrderDetails_id
- OrderDetails_masterid
- OrderDetails_productid
- OrderDetails_qty
Product
- Product_id
- Product_name
- Product_price
The following picture shows the relations of each table :
SQL command for creation tables are follows :
Enter data to the tables :
Order Master Table Data
Order Details Table Data
Product Table Data
- Step by Step help for creating a simple Crystal Reports in VB.NET
- VB.NET Crystal Reports from multiple tables
- VB.NET Crystal Reports String parameter
- VB.NET Crystal Reports Integer parameter
- VB.NET Crystal Reports Date parameter
- VB.NET Crystal Report Load Dynamically
- VB.NET Crystal Reports Formula Fields
- VB.NET Crystal Reports Summary Fields
- VB.NET Crystal Reports Export to PDF
- VB.NET Crystal Reports Export to Excel
- Email a Crystal Reports from VB.NET
- Crystal Reports Without Database
- Crystal Report from SQL Query String
- Dynamic Crystal Reports from SQL Query String
- Crystal Reports from XML File
- Create a Subreport in Crystal Reports
- Create a Subreport in Crystal Reports with Link
- How to deploy Crystal Reports on Clinet Machine
- How to create Crystal Reports installer using Merge Modules