K
Kathy R.
I have a set of about 500 names that I need to break down into family
groups. The data was imported from an old database and this set of
names does not have any family association. Currently, for convenience
sake, they are all in the same "family," ie their FamID is all the same.
Table Structure:
tblFamily
FamID (primary key)
FamLastName
tblIndividual
InID (primary key)
InFamID (foreign key)
FirstName
LastName
What I would like to do is to build a query, sorted on LastName where
all of the same last name would be dumped into a new FamID and have the
FamLastName in tblFamily and InFamID in tblIndividual updated. I've
looked at MIN and MAX, but that just gave me the first record (Abbott)
or the last record (Zyglocke).
Can this be done in a query, perhaps as a two-step process, or is it
more complicated than that? Your help would be very much appreciated!
By the way, I realize that all of the "Jones" may not belong in the same
family, but this will get me one step closer. The next step is to
compare them to the old, hand-written membership records.
Kathy R.
groups. The data was imported from an old database and this set of
names does not have any family association. Currently, for convenience
sake, they are all in the same "family," ie their FamID is all the same.
Table Structure:
tblFamily
FamID (primary key)
FamLastName
tblIndividual
InID (primary key)
InFamID (foreign key)
FirstName
LastName
What I would like to do is to build a query, sorted on LastName where
all of the same last name would be dumped into a new FamID and have the
FamLastName in tblFamily and InFamID in tblIndividual updated. I've
looked at MIN and MAX, but that just gave me the first record (Abbott)
or the last record (Zyglocke).
Can this be done in a query, perhaps as a two-step process, or is it
more complicated than that? Your help would be very much appreciated!
By the way, I realize that all of the "Jones" may not belong in the same
family, but this will get me one step closer. The next step is to
compare them to the old, hand-written membership records.
Kathy R.