Morning folks, my first post here. I'm hoping it'll be an easy one for those more experienced than I.
Table 1: Parcels
Parcel ID
Table 2: Ownership
Parcel ID
Person ID
OwnerStatus ('Current Owner','Current Co-Owner')
Table 3: Person
Person ID
First Name
Last Name
Parcels & Ownership have a 1-M relationship since a single parcel can have both an Owner and one or more Co-Owners. ParcelID is the key for the relate.
Ownership & Person have a M-1, using PersonID.
This is a newly designed database and I'm trying to run a single query on it to produce a single table that matches the design of the agency's previous legacy DBF structure. That structure has the following select fields (among others):
PARCELID
FIRSTNAME
LASTNAME
CO_OWNER
In my SQL statement, then, I'm using a WHERE statement (WHERE ((([Ownership]![OwnerStatus])='current owner')) to populate the LastName field and only pull a single 'current owner' record.
My question is whether it is possible to, in the same query, to also populate the co-owner field by similarly using an INNER JOIN but this time limiting to only co-owners. In addition to trying limit this in a single Select statement, I've tried using a SubQuery without success.
Thanks in advance for your help,
Ron
Table 1: Parcels
Parcel ID
Table 2: Ownership
Parcel ID
Person ID
OwnerStatus ('Current Owner','Current Co-Owner')
Table 3: Person
Person ID
First Name
Last Name
Parcels & Ownership have a 1-M relationship since a single parcel can have both an Owner and one or more Co-Owners. ParcelID is the key for the relate.
Ownership & Person have a M-1, using PersonID.
This is a newly designed database and I'm trying to run a single query on it to produce a single table that matches the design of the agency's previous legacy DBF structure. That structure has the following select fields (among others):
PARCELID
FIRSTNAME
LASTNAME
CO_OWNER
In my SQL statement, then, I'm using a WHERE statement (WHERE ((([Ownership]![OwnerStatus])='current owner')) to populate the LastName field and only pull a single 'current owner' record.
My question is whether it is possible to, in the same query, to also populate the co-owner field by similarly using an INNER JOIN but this time limiting to only co-owners. In addition to trying limit this in a single Select statement, I've tried using a SubQuery without success.
Thanks in advance for your help,
Ron