MichaelWaimauku
Registered User.
- Local time
- Tomorrow, 03:08
- Joined
- Dec 6, 2012
- Messages
- 57
Hi, I have the following that currently takes the email address from the field Contact on a form, however, I now want to be able to pull off multiple emails should there be, from a subform. Is this possible? This is the current one.
.To = Forms![nonconformity]![Contact]
Form - "nonconformity"
Subform - "conf-contX"
Subform field - "contactID" - lookup on another table
The Subform field contactID displays 2 fields of 3 on selection and only stores the 2nd value on the subform. 1st Primary Key (not seen), 2nd Name (displayed), 3rd Email address (only seen when selecting Name).
I want to take the email address which only displays when selecting on the contactID field.
Also, there may be a number of records in the subform, how do I grab all email addresses to populate the .To in Outlook?
Hopefully this makes sense.
.To = Forms![nonconformity]![Contact]
Form - "nonconformity"
Subform - "conf-contX"
Subform field - "contactID" - lookup on another table
The Subform field contactID displays 2 fields of 3 on selection and only stores the 2nd value on the subform. 1st Primary Key (not seen), 2nd Name (displayed), 3rd Email address (only seen when selecting Name).
I want to take the email address which only displays when selecting on the contactID field.
Also, there may be a number of records in the subform, how do I grab all email addresses to populate the .To in Outlook?
Hopefully this makes sense.
Last edited: