How to create crystal report in

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

I am working on a 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
    LVL 69

    Expert Comment

    by:Éric Moreau
    I really like to fill a dataset in my application and pass it to CR. See

    Author Comment

    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 69

    Expert Comment

    by:Éric Moreau
    Download and try the demo application that comes with the article. I have a "View Report" button that does what you are asking.
    LVL 69

    Expert Comment

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

    Accepted Solution

    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

    Hi mlmcc,

    I am using Visual Studio 2008.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Query datatable in LINQ 6 29
    Visual Studio and sql server data tools 4 30
    How to debug this code 7 38
    Xamarin 10 20
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now