Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-27
8
Medium Priority
?
5,753 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 2000 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 101

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 101

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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 video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

916 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