K
Kathy R.
Using Access 2007. My table is as follows
tblIndividual
IndID (autonumber, primary key)
OLD_FamID (not unique)
LastName (not unique)
OLD_MembID (unique)
I am trying to set up a query to show me the first instance of each
OLD_FamID.
Data:
OLD_FamID LastName OLD_MembID
1 Jones 1
1 Jones 2
1 Jones 3
2 Smith 4
2 Smith 5
3 Rogers 6
3 Rogers 7
Query would show
1 Jones 1
2 Smith 4
3 Rogers 6
How do I do this? I've been playing around a bit with both DISTINCT and
GROUP BY, but can't quite get it. Thanks for the help!
tblIndividual
IndID (autonumber, primary key)
OLD_FamID (not unique)
LastName (not unique)
OLD_MembID (unique)
I am trying to set up a query to show me the first instance of each
OLD_FamID.
Data:
OLD_FamID LastName OLD_MembID
1 Jones 1
1 Jones 2
1 Jones 3
2 Smith 4
2 Smith 5
3 Rogers 6
3 Rogers 7
Query would show
1 Jones 1
2 Smith 4
3 Rogers 6
How do I do this? I've been playing around a bit with both DISTINCT and
GROUP BY, but can't quite get it. Thanks for the help!