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
Solved

Crystal Report Image from SQL field with file location

Posted on 2016-09-13
3
71 Views
Last Modified: 2016-09-13
I have a Crystal report 2016 and want to show images, the image path is in sql and shown below

M2ENL1\Pack_12\11879\Event11879_7e4c5cd3-105b-4acc-a32f-ef76386926ee.jpg

Below Image is the actual folder.

Image folder
Any ideas would be greatly appreciated.
0
Comment
Question by:John-S Pretorius
3 Comments
 
LVL 22

Expert Comment

by:Ido Millet
ID: 41796957
Please clarify: what logic maps between the path stored in the database and the path the image is stored under? If 1-to-1, simply set it as the 'Graphic Location' expression.  If not 1-to-1, use that logic to convert from the database info to the actual path.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 41796959
Try this

Insert a PICTURE object on the report
Right click the image
Click FORMAT GRAPHIC
Click the PICTURE tab
Click the FORMULA BUTTON to the right of GRAPHIC LOCATION
Insert the database field with the graphic as the location
Click SAVE AND CLOSE
Click OK


mlmcc
0
 

Author Closing Comment

by:John-S Pretorius
ID: 41796963
That works perfect, thank you.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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