John
Thanks for this, unforunatley I can not get it to work. The SQL Query is as
follows:
SELECT tbl_eMail_Addresses.Company, tbl_eMail_Addresses.[First Name],
tbl_eMail_Addresses.[Last Name], tbl_eMail_Addresses.[Job Title],
First(tbl_eMail_Addresses.[E-mail Address]) AS [FirstOfE-mail Address]
FROM tbl_eMail_Addresses
GROUP BY tbl_eMail_Addresses.Company, tbl_eMail_Addresses.[First Name],
tbl_eMail_Addresses.[Last Name], tbl_eMail_Addresses.[Job Title];
tbl_eMail_Addresses.Company contains the ID of the company and is only
included for ease of debugging
The query still displays all of the email addresses for each company
Of course, because you're selecting and grouping by first name, last name, and
job title as well as company.
Do you want to see the name and title of the owner of the selected email
address? If so, use First for each of them as well and don't group by them.
Note that this will give you the first record in disk storage order. This
might be the email address of an assistant temporary mail clerk or it might be
that of the CEO - does that matter?