views:

77

answers:

1

In Crystal Reports 2008, there's a "Graphic Location" image property where it can be set to a file path so when the report gets run, it uses the selected picture file instead of the one on the report. I tried setting this via the .NET API, but it's only working some of the time.

In the report itself, I've set Graphic Location to {@LogoPath}, then when I run the report via .NET API, I set {@LogoPath} to the filename of the picture. I've put the formula on the report itself, and it's indeed getting set to the correct filename, but the image on the report doesn't always update. It would consistently show up for some time, then consistently not show it again.

Anyone encountered this?

A: 

Take a look at my Crystal Reports: Dynamic Images posting.

Craig
Doesn't help unfortunately. I've already set the Graphic Location in the report to be a formula, as in the example you posted.Only difference is they use a parameter formula instead of a regular formula, which isn't suitable for this because it'll prompt the user for the image location each time. I need my program to set the correct image without prompting the user.
Robo
Is the display-consistency issue at all correlated to using saved data vs. refreshing the data?
Craig