D
Dan S.
I'm merging data from an Access database from a lookup cell. How can I
make the text from the lookup cell come up in the mail merge output?
TIA
make the text from the lookup cell come up in the mail merge output?
TIA
Dan:
Base the merge on a query which joins the table to the table from which the
'looked up' text is derived. You can then return the text field from that
table in the query rather than the foreign key field which references it.
Say for instance you have a table Contacts with a field CityID which
references the autonumber primary key CityID of a Cities table which contains
a text field City the you might use a query along these lines:
SELECT FirstName, LastName, Address1, Address2, City
FROM Contacts INNER JOIN Cities
ON Contacts.CityID = Cities.CityID;
In the above the FirstName, LastName, Address1 and Address2 fields are in
the Contacts table, the City field in the Cities table.
Ken Sheridan
Stafford, England
I think I found what you were doing in SQL view. I hope I can make itDan S., if I was in the mood, I'd turn the lights down low and reply with
soft music, but you'll have to accept this instead::
<corrected>
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.