Solved

how to display image on report when i stored image's path in database

Posted on 2006-11-27
8
5,719 Views
Last Modified: 2008-01-09

Hi everybody !!

I am using Crystal Report for Eclipse 3.2 (CR4E) . I stored image's path in database (mysql), now i need to get path and display image in report . How can i do it ? , please help me , thanks very much !!!!!!
0
Comment
Question by:sakira0006
  • 2
  • 2
  • 2
8 Comments
 
LVL 5

Accepted Solution

by:
reku631 earned 500 total points
ID: 18027528
Hi sakira0006,
> image's path in database

You can change an image from your calling application if you're using the RDC ( http://support.businessobjects.com/library/kbase/articles/c2004336.asp )

If you are using just Crystal then AFAIK you cannot change the image based on a path stored in the database.  You can store the image itself in the database and display it, but not a path to the image.
===
With Version 10 you are limited to inserting pictures (.jpg or .bmp files) or inserting/linking OLE Objects (bitmaps) from a static location.  For that reason, it is recommended that you store the actual image in a database field.  CR XI allows you to point to a location (on a web or file server, for example) for images.

====
Also try
http://support.businessobjects.com/communityCS/FilesAndUpdates/cr9_vb_rdc_loadpic.exe.asp


Cheers!
0
 
LVL 42

Expert Comment

by:frodoman
ID: 18027560
You won't be able to do that - this feature is only supported in the newest versions of Crystal.  For older versions, the only way to handle this is to actually store the image itself (as a binary object) in the database and display it on the report that way.  The of course add a tremendous amount of size to your database and I don't know how well mySql will handle it.

frodoman
0
 
LVL 42

Expert Comment

by:frodoman
ID: 18027565
Sorry reku - stale browser and I didn't see your post. - frodoman
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 100

Expert Comment

by:mlmcc
ID: 18029076
Crystal Reports for Eclipse is a free Eclipse plug in that allows you to create reports and embed them into your Java applications.  What version of Crystal do you have?  If it is CR10 or before then reku's link should resolve the issue.  If you have CR XI then you should be able to use the path straight from the database.

mlmcc
0
 
LVL 5

Expert Comment

by:reku631
ID: 18035372
Very Strange my answer was not accepted ???
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18144050
Question reopened

sakira0006 - PLease accept an appropriate comment as the answer.

mlmcc
Crystal Reports Page Editor
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 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

13 Experts available now in Live!

Get 1:1 Help Now