Results 1 to 4 of 4
  1. #1
    adams.bria is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2010
    Posts
    22

    E-Mailing A Report (From a form)

    So I was wondering if anyone knew how to go about doing this:



    I have a form where I assign students to an employer. I basically use a sub-form that collects the Id's numbers into one table. I then created a button that will launch a "Student Profile Report" using the record that I have selected. What I would like to do is e-mail that report as a pdf attachment to the students e-mail address. Any ideas on where to start? Thanks!

    -Brian

  2. #2
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    Start here and let us know if you get stuck....

    http://www.everythingaccess.com/tuto...curity-Warning

  3. #3
    adams.bria is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2010
    Posts
    22
    That takes care of the security... However I still don't know how to actuelly create the proccess of attaching the pdf and inserting the e-mail address of the current student record?

  4. #4
    TheShabz is offline Court Jester
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1,368
    in:

    'Create the recipients TO
    TempArray = Split(strTo, ";")
    For Each varArrayItem In TempArray

    set strTo to whatever variable you have your email addy stored in

    the attachment can be added via
    Set objectlookAttach = .Attachments.Add("Full Path of File and File Name")
    from
    http://bytes.com/topic/access/answer...ment-using-vba

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

Similar Threads

  1. Mailing Query Question
    By bobbyfunk74 in forum Access
    Replies: 2
    Last Post: 03-01-2011, 12:15 PM
  2. Replies: 16
    Last Post: 03-15-2010, 12:02 AM
  3. Form OR Report???
    By p_1800 in forum Access
    Replies: 2
    Last Post: 06-03-2009, 02:34 PM
  4. Replies: 1
    Last Post: 03-02-2009, 11:54 AM
  5. Printing multiple copies of a mailing label
    By Flight Planner in forum Reports
    Replies: 1
    Last Post: 10-19-2006, 08:16 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