CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2008
    Posts
    2

    Question Is it possible to insert a PDF file in a Crystal Report

    Hi,

    I have to generate a report along with couple of forms (which are now in PDF) as sub reports and which do not need to pull any data but they have to be printed as a part of report based on certain conditions.I was wondering is there a way by which I can insert them into the report rather than creating and formatting the forms which is kind of time consuming.Any help or suggestion would be greatly appreciated.

    Thanks in Advance !

  2. #2
    Join Date
    May 2003
    Location
    Islamabad, Pakistan
    Posts
    284

    Re: Is it possible to insert a PDF file in a Crystal Report

    You can insert the PDF in crystal report.

    Insert -> OLE Object

    select Adobe Acrobat Document and select the pdf you want to show.

  3. #3
    Join Date
    Jun 2008
    Posts
    2

    Re: Is it possible to insert a PDF file in a Crystal Report

    Quote Originally Posted by jawadhashmi
    You can insert the PDF in crystal report.

    Insert -> OLE Object

    select Adobe Acrobat Document and select the pdf you want to show.

    Thanks a lot,It worked !!!

  4. #4
    Join Date
    May 2011
    Posts
    2

    Unhappy Re: Is it possible to insert a PDF file in a Crystal Report

    Hi,
    I know it's too late but I hope i'll have an answer.

    I did the same thing you told to insert a pdf file in crystal report, but it gives me an error message :
    "Faled to create the object. Verify that the application is in the register of the system".

    Can I have some help please !!

  5. #5
    Join Date
    May 2003
    Location
    Islamabad, Pakistan
    Posts
    284

    Re: Is it possible to insert a PDF file in a Crystal Report

    Seems some sort of installation issue.

    Please have a look on the link below:

    http://www.tek-tips.com/viewthread.c...560028&page=84
    If this post is helpful, then, Rate this Post.

  6. #6
    Join Date
    May 2011
    Posts
    2

    Unhappy Re: Is it possible to insert a PDF file in a Crystal Report

    Thanks for your reply.

    I re installed crystal report and choose all items, but it still give me the same msg.
    And in the link you gived me, they talk about insert a word file not a pdf file

    Any other idea ?

  7. #7
    Join Date
    May 2003
    Location
    Islamabad, Pakistan
    Posts
    284

    Re: Is it possible to insert a PDF file in a Crystal Report

    You are right the link talks about the Word Document but the same way you can insert PDF.

    Sorry for being late.
    If this post is helpful, then, Rate this Post.

  8. #8
    Join Date
    Mar 2012
    Posts
    1

    Re: Is it possible to insert a PDF file in a Crystal Report

    Is it possible to add pdf file at run time.

    e.g I want to load pdf files w.r.t requirement at run time.

  9. #9
    Join Date
    May 2003
    Location
    Islamabad, Pakistan
    Posts
    284

    Re: Is it possible to insert a PDF file in a Crystal Report

    There is an option of adding the images at run time but never saw this before.
    The other way rounds could be:
    - You can include as link to some external file.
    - Read the whole file as object and pass to the report.
    If this post is helpful, then, Rate this Post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured