Results 1 to 2 of 2
  1. #1
    weshader is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2009
    Posts
    3

    SendObject

    I have an Access database that I use as a message board for the employees. On the main form I would like to include a command button that would use the SendObject function to generate an email to the employee that was receiving the message. This could be any number of employees, so I cannot include a specific address in my code. I do not want to leave this part of the code blank either because I would like to have this completely automated. If the "To" argument is blank then outlook prompts you for the address before sending. And if they have to type the address in, people could just send an email with the message in it. But that would not be nearly as fun now would it?



    Can someone help me figure this out?

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    when that command button is clicked - how does it know the correct email address??

    your answer probably is that it is somewhere i.e. in some control...

    so you have to take that value and write it into the sendobject syntax with vb

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

Similar Threads

  1. Email sent via DoCmd.SendObject
    By silverback in forum Programming
    Replies: 0
    Last Post: 10-29-2009, 06:26 AM
  2. SendObject Message
    By williammarino in forum Forms
    Replies: 4
    Last Post: 10-06-2009, 01:54 AM
  3. Send email using SendObject instruction
    By stecco in forum Access
    Replies: 4
    Last Post: 09-09-2009, 01:55 AM
  4. DoCmd.SendObject Help
    By bgreer5050 in forum Programming
    Replies: 0
    Last Post: 01-12-2007, 06:27 PM

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