Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Automatic Emails Based On ADP Form

Status
Not open for further replies.

Aliffi

MIS
Jan 9, 2005
51
0
0
BE
Any one needs to send automatic emails based on current form here is the code

'-----------------------------------------------------

Set myrecordset = Me.Recordset
With myrecordset
myrecordset.MoveFirst

Do Until myrecordset.EOF

DoCmd.SendObject acSendNoObject, , , "Email address here", , , "Body Text here ", No

myrecordset.MoveNext
Loop
End With
Set myrecordset = Nothing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top