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

x
?
Solved

Crystal Report Image from SQL field with file location

Posted on 2016-09-13
3
Medium Priority
?
135 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 23

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 101

Accepted Solution

by:
mlmcc earned 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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. …
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 …
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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

877 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