I have to print image files as attachments to a Crystal report. Each record has file associated with it. I have full path to files saved in database and as a hyperlink in report.
thank you.
What is your question? How to include images in a Crystal report? There a ways to do it in code (e.g., VB) at runtime, but from within Crystal Reports itself, you either insert the picture, create an OLE object to hold or link to the picture, or you load the pictures into your database and access them as a data field.
The first two methods are not dynamic on a record-by-record basis, so I don't think they fit your requirement.
The last option is the best one (and really, the only one) when you have to have pictures associated with records, unless you use a development environment like vb to control the reporting process. I would strongly recommend the database option, even if it requires that you use MS Access to store your pictures and creae a subreport to pick them up (if, for example, your database doesn't allow you to store pictures). The coding option would be really ugly in your scenario, I would think.
images should be printed on separate pages as attachment to the report data.
or : is it possible to export hyperlink data in *.* file and then print this file?
Well, since Crystal only prints what it shows, you have one of two choices, as far as I can see (perhaps there are more):
1) Create a subreport that actually shows the images and place the subreport in the report footer.
2) Handle the printing of the images outside of Crystal. Depending on how you are deploying the report (how it is being run by the end user), you may or may not be able to get the images printed in conjuction with the report.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.