Results 1 to 3 of 3

Thread: sendobject

  1. #1
    Join Date
    Sep 2002

    Unhappy Unanswered: sendobject

    I have a workorder database ( access 97) where I try to send e-mail responses with a command button when the work is done.
    I use this in the event procedure command button
    Dim stinfo As String
    stinfo = "Your work order no. " + Me![W O Number] + " has been done"

    DoCmd.SendObject acSendNoObject, , acFormatTXT, Me![email], , ,"Confirmation of Work Order", stinfo, True
    where Me![W O Number] and Me![email] are varables from the access form.

    This works on a windows 95 machine but not on a windows 98 or XP machine. The error message is 2046, command or action sendobject isn't
    available now.

    From this I would thank it is a machine config issue ruther than a program problem;
    but I do not know what.
    Thanks for you help.


  2. #2
    Join Date
    Feb 2002
    San Antonio, TX
    Seems to be either MAPI isn't installed or Outlook isn't set as the default mail handler.
    "Doing stuff is overrated. Take Hitler for example. He did lots but don't we all wish he'd have just stayed home and gotten stoned?"

  3. #3
    Join Date
    Jul 2002


    Remove Outlook Express from your system
    Reboot the machine
    Reinstall Outlook Express
    Reboot the machine
    Change the default mail client to what you need.

    This has worked in my case...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts