R
Robert_L_Ross
I've got a form called EMail in MSAccess that contains a field named
EMailToAddress. This field populates from a table of e-mail addresses.
On the EMail form, I have a subform (Messages) that has 2 fields (Subject
and Message).
On the main form (EMail) I have a button I want to use to send an e-mail to
the address specified on the EMail form (EMailToAddress) and that uses the
Subject and Message field contents from the subform.
Here's the code:
Private Sub EMail_Click()
Dim ToAddress, CCAddress, BCCAddress, Subject, MessageText As String
ToAddress = Forms!(e-mail address removed)
EMailToAddress. This field populates from a table of e-mail addresses.
On the EMail form, I have a subform (Messages) that has 2 fields (Subject
and Message).
On the main form (EMail) I have a button I want to use to send an e-mail to
the address specified on the EMail form (EMailToAddress) and that uses the
Subject and Message field contents from the subform.
Here's the code:
Private Sub EMail_Click()
Dim ToAddress, CCAddress, BCCAddress, Subject, MessageText As String
ToAddress = Forms!(e-mail address removed)