Link to home
Start Free TrialLog in
Avatar of chow01
chow01

asked on

How to create crystal report in VB.net?

Hi,

I am working on a VB.net application.
The next step after creating the GUI, I need to generate a data report based on user selection.
Based on the sample snippet attached, the workflow is as follow:

User selects a Project_ID from the combobox --> Click on the "Get Report" button --> Another window form will appear in a report format showing the data required

The data shown on the report are as follows based on MySQL database:
- Project_id
- KM_id
- Client_id
- Doc_title
- Planned_date
- Status_id

I am new to crystal reports so I would like to know how to go about the workflow.
Thank you.
MySQL-database.JPG
ReportProjectNo.JPG
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

I really like to fill a dataset in my application and pass it to CR. See http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx
Avatar of chow01
chow01

ASKER

thanks for the detailed info on crystal report. it has helped me in my understanding of what is this about.
before i begin to create a report, based on the above attachment, how do i generate the report by the click of the button "Get Report" after making the selection at the combobox?
Download and try the demo application that comes with the article. I have a "View Report" button that does what you are asking.
In short, you have to fill a dataset with the data you want/need and call the report.
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chow01

ASKER

Hi mlmcc,

I am using Visual Studio 2008.