H
Han
Using an Access query as my mail merge data source, I would like to return
multiple names from the same table as merge fields.
My "Contacts" table looks like this:
ContactID, FirstName, LastName
I need to return the FirstName and LastName for each ContactID.
SELECT [Contacts].[FirstName] AS ClientFirstName, [Contacts].[LastName] AS
ClientLastName, [Contacts].[FirstName] AS DoctorFirstName,
[Contacts].[LastName] AS DoctorLastName, [Contacts].[FirstName] AS
NurseFirstName, [Contacts].[LastName] AS NurseLastName, FROM Contacts
How do you write the WHERE clause to distinguish each FirstName and LastName
using the ContactID for each? The goal here is the have a nice
mail merge data source containing all the contact names.
Is this possible or is there a different way to accomplish this?
Thanks,
Han
multiple names from the same table as merge fields.
My "Contacts" table looks like this:
ContactID, FirstName, LastName
I need to return the FirstName and LastName for each ContactID.
SELECT [Contacts].[FirstName] AS ClientFirstName, [Contacts].[LastName] AS
ClientLastName, [Contacts].[FirstName] AS DoctorFirstName,
[Contacts].[LastName] AS DoctorLastName, [Contacts].[FirstName] AS
NurseFirstName, [Contacts].[LastName] AS NurseLastName, FROM Contacts
How do you write the WHERE clause to distinguish each FirstName and LastName
using the ContactID for each? The goal here is the have a nice
mail merge data source containing all the contact names.
Is this possible or is there a different way to accomplish this?
Thanks,
Han