H
HelloWorld
Hello .
I am trying to test out the functionality of doCmd.SendObject for an
application that I have been assigned to write. I eventually woiuld like to
send out notifications that include a query that runs when a certain feild(s)
reach a certian criteria or at a ertain time during the day (corporate is
still chewing on that one) . But baby steps first. I have made a small button
on a test form and tried to assign its on click property to run the
sendobject command. I get it all typed in and i get a "expression expected"
error. Im sure it is a syntax error as I am prone to make those and spend a
few minutes drilling it down (especially with functions I havent used
before.) Anyways here is the code snippit and any ideas on how to do some of
the things I had mentioned before would be wonderful . The word wrap on this
reader is different than the actual code so I dont think I need the " _ "
extender character in it - could be wrong though.
**********************CODE HERE *****************************
Private Sub Command736_Click()
DoCmd.SendObject(acSendQuery, "NQ1 Letter - Insufficent Data Or
Qualifications",acFormatTXT,"(e-mail address removed)",,,"Test Query","Here is
the Test Query Message",,,)
End Sub
Thanx
Steve
I am trying to test out the functionality of doCmd.SendObject for an
application that I have been assigned to write. I eventually woiuld like to
send out notifications that include a query that runs when a certain feild(s)
reach a certian criteria or at a ertain time during the day (corporate is
still chewing on that one) . But baby steps first. I have made a small button
on a test form and tried to assign its on click property to run the
sendobject command. I get it all typed in and i get a "expression expected"
error. Im sure it is a syntax error as I am prone to make those and spend a
few minutes drilling it down (especially with functions I havent used
before.) Anyways here is the code snippit and any ideas on how to do some of
the things I had mentioned before would be wonderful . The word wrap on this
reader is different than the actual code so I dont think I need the " _ "
extender character in it - could be wrong though.
**********************CODE HERE *****************************
Private Sub Command736_Click()
DoCmd.SendObject(acSendQuery, "NQ1 Letter - Insufficent Data Or
Qualifications",acFormatTXT,"(e-mail address removed)",,,"Test Query","Here is
the Test Query Message",,,)
End Sub
Thanx
Steve