Solved

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

Posted on 2006-11-27
8
5,737 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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