My form forces the user to send an email to me when using the database for the first time.
I now have a registration number on the form that is hardcoded into each copy by me. It is held in (frmRegister.RegistrationNumber). I already have code to get the email to send but now ned to add the contents of this field to the email.
I now have a registration number on the form that is hardcoded into each copy by me. It is held in (frmRegister.RegistrationNumber). I already have code to get the email to send but now ned to add the contents of this field to the email.
Code:
.HTMLBody = "<HTMLtags>This email confirms that a new user " & _
olApp.Application.Session.Accounts.Item(1).SmtpAddress & _
" has registered a copy of Gundog Manager.
The registration number of this copy is [COLOR="Red"](frmRegister.RegistrationNumber)[/COLOR][COLOR="Black"][/COLOR]</HTMLtags>"