[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


How to create crystal report in VB.net?

Posted on 2008-11-10
Medium Priority
Last Modified: 2012-06-27

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.
Question by:chow01
  • 3
  • 2
LVL 70

Expert Comment

by:Éric Moreau
ID: 22920461
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

Author Comment

ID: 22920839
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?
LVL 70

Expert Comment

by:Éric Moreau
ID: 22920889
Download and try the demo application that comes with the article. I have a "View Report" button that does what you are asking.
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

LVL 70

Expert Comment

by:Éric Moreau
ID: 22920893
In short, you have to fill a dataset with the data you want/need and call the report.
LVL 101

Accepted Solution

mlmcc earned 2000 total points
ID: 22924126
If this is VS 2005 here is a lebgthy tutorial on using Crystal.  

If it is another version of VS then the information may still be applicable but may require some changes.


Author Comment

ID: 22928145
Hi mlmcc,

I am using Visual Studio 2008.

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question