Solved

Crystal Reports 2011 dynamic image

Posted on 2011-09-06
4
591 Views
Last Modified: 2013-12-29
My users need to dynamically  add their signature to the reports that they produce. The signatures is saved on the network as .jpg  file. The path for each user signature is stored in one of the database fields (e.g. C:\Signarures\John.jpg).
It appears that in crystal reports you can insert a picture and then set the path of the picture dynamically by using the formula with the filed containing the path. However, so far I was unable to get it to work. No error messages, the picture will simply not change. Any advice?
 Pict1 Pict2
0
Comment
Question by:Cobra967
  • 2
  • 2
4 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
Is this when you are previewing the report?

That is how I understand it should work.

mlmcc
0
 

Author Comment

by:Cobra967
Comment Utility
What is happening is that I have to select one signature picture from C:\Signatute\... in order to insert the picture and this piscture is what it shown all the time even though the path in the field is for a different signature. The images above are of the image setting object (Right-click --> Image Format etc)
0
 

Author Comment

by:Cobra967
Comment Utility
Actually it is working!!! The problem was that when I inserted the picture the first time I used a signature insted of a blanck picture. Therefore, if I had no signature picture for one of the employee, the system automatically shows the default initial picture that I use to crete the picture object, giving the impression that it was always displaying the same thing.
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Good information.  I had forgotten about that issue.  I don't work with images at all in the reports I build.

mlmcc
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to implement Singleton Design Pattern in Java.

744 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

16 Experts available now in Live!

Get 1:1 Help Now