Solved

Inserting Images in crystal reports 9 dynamically

Posted on 2011-03-22
9
680 Views
Last Modified: 2012-05-11
Hi All,
I'm using visual studio 2005 and crystal reports 9 and generating a dataset of Bar graphs which I'm inserting dynamically into the BLOB fields of the reports. Each bar graph can have a maximum of 10 bars,
My problem is if the bars are more than 10 then inserting them into report is getting difficult because I'm unable to create sections dynamically.
The maximum number of bars is not fixed and may vary up to 90, I can insert  9 sections for each graph and suppress the empty ones but I have around 300 Graphs which makes around 2700 sections (Extreme case) which is not possible.Please help me to solve this problem.Thanks in Advance.
0
Comment
Question by:V1n
  • 5
  • 4
9 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 35194281
ARe you generating pictures which are bar graphs or are you generating the bars and trying to insert them into a graph?

Why can't you pass the data to Crystal and let Crystal generate the graphs?

mlmcc
0
 

Author Comment

by:V1n
ID: 35194350
Hi mlmcc,
  I'm generating .bmp images which are bargraphs.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35194390
I don't think there is a solution based on the requirements.

Is it not possible to generate the graphs in Crystal?

Though I suspect with that many you might still have an issue with the number of sections.


mlmcc
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 35194403
It would seem to me that it would make more sense to generate a report for each group of up to 10

mlmcc
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:V1n
ID: 35194450
Still I  think there will be a problem as the total sections allowed per report is only 80 and if I do so then the count of sub reports will be increased.
Is there any reporting service which satisfies these conditions?
Thank you.
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 500 total points
ID: 35194597
I don't know of one.

I was thinking that the VS2005 application could generate separate reports so that the most sections in any report would be 9 for a graph with 90 bars.

mlmcc
0
 

Author Comment

by:V1n
ID: 35202325
Thanks for your response, separate reports will work but in my case all graphs should be in one report.Is there any option for generating separate reports and merge as single report?
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 500 total points
ID: 35202465
They could be exported to PDF then merged with a utility like PDFMerge

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_26882624.html

mlmcc
0
 

Author Closing Comment

by:V1n
ID: 35202521
Thank you for the reply
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Offline Apllication 5 56
Angular JS Route 3 54
Eagerly loading related objects in entity framework 5 26
Counting connections to SQL Server through C# 3 29
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

864 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

21 Experts available now in Live!

Get 1:1 Help Now