Results 1 to 4 of 4
  1. #1
    lynthel is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    30

    Designing Email Triggers

    I am having some difficulties insert fields within an email trigger. I have created a table to pull from to design an email body.



    Is there an easy way to do this on an insert SendEmail?

    Would having a word document on the server using mail merge (pulling form the DC) be easier? If so, can someone point me to a tutorial or step by step directions for either of the above ideas?

    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    What do you mean by 'email trigger' - a command button?

    What method are you using to send email - SendObject?

    What is 'insert SendEmail'?
    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.

  3. #3
    lynthel is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    30
    email trigger...an after insert or after update...I have both set up to send an email...I am using SendEmail...I am trying to pull in data from fields to create the email...

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I still don't know what you mean by SendEmail - is this the command from the External/Export tab on ribbon?

    Are you using a macro or VBA? Post code for analysis.

    Referencing fields/controls of open form and concatenating into a string is simple, like:.

    strBody = "The value '" & Me.texboxname & "' is data from a field of current record on form."
    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: 3
    Last Post: 08-16-2013, 04:15 PM
  2. New To SQL, Need To Learn About Triggers
    By David92595 in forum SQL Server
    Replies: 4
    Last Post: 03-20-2013, 11:27 AM
  3. Replies: 2
    Last Post: 01-21-2013, 11:28 PM
  4. Query Code to Hi-light Date Triggers
    By sbrem00 in forum Queries
    Replies: 1
    Last Post: 11-17-2011, 08:59 AM
  5. Replies: 4
    Last Post: 04-13-2011, 10:11 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