RandyMyers
IS-IT--Management
I am using the SendObject function (macro) to e-mail from a form. Is there any way to insert a value from a field on the form into the To: slot in the e-mail. I have tried the usual [Forms]![FormName]![FieldName] and an error stating that it is not a valid e-mail address occurs. I have tried enclosing the field reference in quotations and perenthesis. Nothing seems acceptable other than a hard coded e-mail address. It appears as if the slot can only have an e-mail address inserted, and not a reference to a field on a form.
I really would prefer not to have to hard code the address but instead have the system pick by the users name where to send the e-mail.
Any ideas?
I really would prefer not to have to hard code the address but instead have the system pick by the users name where to send the e-mail.
Any ideas?