Results 1 to 2 of 2

Thread: VBA in Ms Access - ENTER THIS THREAD TO WIN MY ADMIRATION

Threaded View

  1. #1

    Thread Starter
    Fanatic Member jcavard's Avatar
    Join Date
    Jul 2005
    Location
    Quebec, CANADA
    Posts
    534

    VBA in Ms Access - ENTER THIS THREAD TO WIN MY ADMIRATION

    Hi!

    I am trying to design a small Access interface that would send an email to the address selected in a drop down list. I have this, but I get an error saying it ain't activated ...

    the attached screenshot is french, sorry, but it says something like: "cannot refer to or define a property if the object is not active" Error 2185...
    VB Code:
    1. Private Sub Commande0_Click()
    2.    
    3.     DoCmd.SendObject , , , email.Text, "kjhkhj", "kljhkhj", False
    4.  
    5. End Sub
    Attached Images Attached Images  
    Last edited by jcavard; Sep 8th, 2005 at 12:47 PM.
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    accoustic emo-rock band: a tailormade fable

    Visual Studio 2003 / Framework 1.1

Posting Permissions

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



Click Here to Expand Forum to Full Width