Results 1 to 2 of 2
  1. #1
    kmims44 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Posts
    24

    Email with Access report as attachment


    This didn't work for me at all. I have a form "PRF" with an attachment field "Field1". I have a command button that runs a report based on that form "PR" and attaches the report to an email no problem. What I want is for it to not only attach the report but attach any files in "Form!Field1" as pdfs as well.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I split your post to a new thread.

    The topic of thread (https://www.accessforums.net/access/...ail-24962.html) you posted in is about attaching to email files from table Attachment field. Attaching an Access database report to email is another topic and has been discussed. Search forum or web.

    If I remember right, since you want to send additional attachments, the SendObject method will not be suitable.

    Will need code to save the report as PDF then attach the PDF to email as well as the other files you want to transmit. Review https://www.accessforums.net/import-...ges-25042.html
    https://www.accessforums.net/access/...pdf-25574.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 31
    Last Post: 08-15-2012, 03:33 PM
  2. Replies: 1
    Last Post: 06-20-2012, 12:18 PM
  3. Email with attachment
    By Ganymede in forum Access
    Replies: 2
    Last Post: 06-01-2012, 01:59 PM
  4. Replies: 13
    Last Post: 05-23-2012, 12:30 AM
  5. Replies: 16
    Last Post: 04-30-2012, 07:12 AM

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