R
Rengade
Please help I have been Emailing data from Access via merge to mail option in
word, but wish to do it via acc directly.
I can use the below code to successfully send 1x email from a form:
stTo = EmailName
stSubject = "***Epex training confirmation***"
stFirstName = number
stText = "Dear " & stFirstName & Chr$(13) & Chr$(13)
DoCmd.SendObject , , acFormatTXT, stTo, , , stSubject, stText, -1
But I have a table like below:
EmailName (john/dave/fred etc.)
Date fo birth (01-01-70/ 02-02-89/ 01-09-52)
How can I get access to create 3x emails for the above information with only
1 button click??
Many many thanks
Renegade
word, but wish to do it via acc directly.
I can use the below code to successfully send 1x email from a form:
stTo = EmailName
stSubject = "***Epex training confirmation***"
stFirstName = number
stText = "Dear " & stFirstName & Chr$(13) & Chr$(13)
DoCmd.SendObject , , acFormatTXT, stTo, , , stSubject, stText, -1
But I have a table like below:
EmailName (john/dave/fred etc.)
Date fo birth (01-01-70/ 02-02-89/ 01-09-52)
How can I get access to create 3x emails for the above information with only
1 button click??
Many many thanks
Renegade