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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 430
  • Last Modified:

Crystal Reports with an Adobe Acrobat embedded via OLE does not refresh when image path changes.

Hi.

Is there some clever trick required to get the "Graphic Location" on an OLE object to update when the data is refreshed?

The Graphic Location value is a database field. Each row has a different value.

The value changes (I can report upon the field easily enough), but the graphic location, if it is being updated, does not change the image.

The images are actually PDF documents.

The links are like this ...

\\DomainClusteredFileStore\FaxesReceived\2009\07\01\2009-07-01__12-29__Page-0309__249G6UK3.pdf
\\DomainClusteredFileStore\FaxesReceived\2009\07\01\2009-07-01__12-29__Page-0310__24IBTUSI.pdf
\\DomainClusteredFileStore\FaxesReceived\2009\07\01\2009-07-01__12-29__Page-0311__24R7GV1U.pdf
\\DomainClusteredFileStore\FaxesReceived\2009\07\01\2009-07-01__12-29__Page-0312__25033VAD.pdf
\\DomainClusteredFileStore\FaxesReceived\2009\07\01\2009-07-01__12-29__Page-0313__258YQVJP.pdf
\\DomainClusteredFileStore\FaxesReceived\2009\07\01\2009-07-01__12-35__Page-0314__25HUE0JF.pdf
\\DomainClusteredFileStore\FaxesReceived\2009\07\01\2009-07-01__12-35__Page-0315__25QQ10RV.pdf
...


Any ideas?

Regards,

Richard Quadling.
0
Richard Quadling
Asked:
Richard Quadling
  • 2
1 Solution
 
mlmccCommented:
Is this Crystal XI or 2008?

If not you have to store the image in the database.  Using the location string was added in CR XI.

mlmcc
0
 
Richard QuadlingSenior Software DeverloperAuthor Commented:
CR 11.

The "images" are actual PDF documents which are single page reports which contain the fax and a small table of information about the state of the fax (received, processed by/date, invoiced, etc.)

The location of the image is a URL (intranet URL) supplied as a column in a view from the database. The SQL server creates the URL from a datetime, page# and a fax code.

We get around 800 pages a day.

0
 
mlmccCommented:
CR XI or 11 can use the database field directly as the source of the image.

mlmcc
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now