Results 1 to 6 of 6
  1. #1
    BrianPeerless is offline Novice
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    3

    Display pdf attachment in report

    I have a table that contains data pertinent to parts which are manufactured. For each record I have a part number, revision, manufacturer etc. I also have an attachment dataset which contains a single pdf. I would like to generate a report that has one record per page and displays the pdf attachment.



    Generating and formatting the report is no problem, but my pdf attachment only shows up as the acrobat icon.

    Please help, my vba is pretty weak. If there is a better way of going about printing pdf attachments I am open to suggestions.

    Thanks,
    Brian

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    isn't the PDF viewer active x control in the active x list in 2007?? I believe it is. could you try that, I wonder? Can you put those on reports?? I know for a fact you can embed them into forms....which I would assume would do this exact thing, record by record...??

    But then again, displaying an attachment I'm sure is different than displaying a local address of an actual file, which is the way I did it. But if you could even do that, you could always send the PDFs back to a dir instead of housing them in the db, right?

  3. #3
    BrianPeerless is offline Novice
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    3
    I would prefer to keep the pdf nested in the DB, rather than just create hyperlinks. The typical users skill level will be low and this seems to me like the most fool-proof way of doing things.

    I can embed the active x control but I don't know what to do with it. Please help.

  4. #4
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    alright. let me test something really quick with it. I have a little time here....I'll be right back with ya

  5. #5
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    check this sample from David out first: http://www.access-programmers.co.uk/...d.php?t=148324

    get back to us if it's not what you need.

  6. #6
    BrianPeerless is offline Novice
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    3
    I will check it out tonight and let you know how I make out.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Table with attachment field and report
    By Yaan in forum Access
    Replies: 0
    Last Post: 02-18-2011, 02:12 AM
  2. Table with attachment field and report
    By Yaan in forum Access
    Replies: 1
    Last Post: 02-13-2011, 07:01 AM
  3. Save Report in Attachment
    By A S MANN in forum Queries
    Replies: 1
    Last Post: 10-08-2010, 08:33 PM
  4. Replies: 0
    Last Post: 07-06-2010, 08:12 AM
  5. Report control of a field display/no display
    By systems013 in forum Reports
    Replies: 5
    Last Post: 02-01-2010, 09:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums