G
Guest
I have a subform which houses email addresses.
I created a command button on the main form to generate an individual email
for each of the recipients on the subform.
My problem is that it only creates the email for the 1st record on the
subform (the selected record).
I would like some code that will either generate an email for all.
The code i have is as follows:
If Administrator <> [R/M] Then
DoCmd.SendObject _
, _
, _
, _
Forms!IssueInfo!EmailRecipients.Form!EmailAddress, _
, _
, _
"My email message here", _
False
I created a command button on the main form to generate an individual email
for each of the recipients on the subform.
My problem is that it only creates the email for the 1st record on the
subform (the selected record).
I would like some code that will either generate an email for all.
The code i have is as follows:
If Administrator <> [R/M] Then
DoCmd.SendObject _
, _
, _
, _
Forms!IssueInfo!EmailRecipients.Form!EmailAddress, _
, _
, _
"My email message here", _
False