Click here to Skip to main content
12,754,391 members (32,091 online)
Rate this:
Please Sign up or sign in to vote.
See more: CrystalReports

I would like to know if it's possible to generate a report where there are a variable number of charts depending on the results of a SQL Query.
In other words, I'm looking for a VB.Net code sample that generates charts in a Crystal Report section where all chart information including data source are specified in the program code.

Any suggestion would be greatly appreciated.


Giuseppe Chianese
IT Sw Developer
E_Mail: *******
Posted 9-Aug-12 5:06am
Updated 9-Aug-12 5:08am
Kenneth Haugland 9-Aug-12 10:10am
Dont post your e-mail in the question, we wont mail you, and youll proberbly get spamed if you do :)
ChandraRam 11-Aug-12 13:27pm
Not sure if I understand your exact requirement... can you not create the report with the chart in the group header (or footer)? That way, you will get multiple charts generated, one for each group of data.

GiuseppeChianese 12-Aug-12 7:25am
Can you show an example for me?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 9 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100