Link to home
Create AccountLog in
Avatar of Michael Katz
Michael KatzFlag for United States of America

asked on

Cant attach a pdf to a crystal report

I have a shared variable in a Report Header...I then have an ole object in the Report Footer..
My formula  ( X-2) for the Graphic after I have inserted the .pdf is

WhilePrintingRecords;
Shared StringVar SCode;

"\\Share\"+SCode+".pdf"

Why isn't it working??
Avatar of Mike McCracken
Mike McCracken

I believe the formula only works for graphics

Have you put the value of the folder path in the shared variable?

What version of Crystal?

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
A possible solution is to use a UFL (User Function Library) to convert the PDF file to an image file (on the fly) and set the Graphic Location expression to the new file. You can build your own or use a 3rd-party UFL.