Here are the relevant tables and columns:
tblAccounts:
AccountID (PK, autonumber)
Lot (FK, number)
Is_Current_Owner (Yes/No)
tblAccountsContactsmm:
ID (PK, autonumber)
Account_ID (FK, Short Text)
Contact_ID (FK, Number)
tblContacts:
Contact_ID (PK, AutoNumber)
Contact_Type (Short Text)
Last_Name (Short Text)
First_Name (Short Text)
Address_ID (FK, Number)
tblAddress:
Address_ID (PK, AutoNumber)
Street1 (Short Text)
Street 2 (Short Text)
City (Short Text)
State (Short Text)
Postal Code (Short Text)
I want a query to produce the following columns, for a specified Lot number (I'm assuming the Lot will need to be a parameter):
Account_ID (limited to records where Is_Current_Owner=Yes)
Owner1 (formed by Concatenating Last_Name & ", " & First_Name for the first linked Contact record found, as long as Contact_Type="Owner")
Owner2 (formed by Concatenating Last_Name & ", " & First_Name for the second linked Contact record found, if it exists, as long as Contact_Type="Owner")
Street1 (for Owner1)
Street2 (for Owner1)
City (for Owner1)
State (for Owner1)
Postal Code (for Owner1)
How do I do this? I'm familiar with the ConcatRelated function, but I don't know how to do that when I need to pull two columns from a table, concatenate them together, and then use the concatenated string as an input to ConcatRelated).
Thanks in advance for your help.
Jeff