Results 1 to 6 of 6
  1. #1
    Cecil861 is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Dec 2018
    Posts
    11

    Form Save & Email

    Need a little help...
    I am trying to have it when the user presses the save button it email the record as well, having trouble with the sending of a single record. It keeps sending all the records in the table attached to form.



    Any advise?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,524
    If you're sending a report, you can open it filtered first with this:

    http://www.baldyweb.com/wherecondition.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Cecil861 is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Dec 2018
    Posts
    11
    so having it open a report to send would be the easiest way? I was wondering if it could send like a "screenshot" of current record?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,524
    You could pull form values into the body of the email.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,811
    Depending on what method you intend to use to email this second form or a report, you might want to check out the method if not real familiar with it. For example, one can use DoCmd.SendObject, which has limitations that might interfere with your plans. Plenty of resources - here's one on that method
    https://www.fmsinc.com/microsoftacce...endobject.html
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    Cecil861 is offline Novice
    Windows 8 Access 2013 64bit
    Join Date
    Dec 2018
    Posts
    11
    Thank you all, between all the information provided I was able to get it figured out.

    I created a new report which looks like the form and have the button email out the report.

    Thank you all

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

Similar Threads

  1. Save & New button - Email
    By gclarid1 in forum Access
    Replies: 6
    Last Post: 07-21-2017, 07:19 AM
  2. Replies: 1
    Last Post: 07-25-2014, 07:53 AM
  3. Replies: 1
    Last Post: 06-26-2012, 08:19 PM
  4. Save an email in an Access database
    By CindyR19 in forum Programming
    Replies: 2
    Last Post: 09-01-2011, 05:25 PM
  5. Replies: 9
    Last Post: 01-20-2011, 02:22 PM

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