G
Guest
I have a table with data like so:
AniName EnriName AssignID
beagle toy 1
beagle toy 2
beagle toy 3
ostrich toy 4
ostrich toy 5
ostrich toy 6
ostrich toy 7
For beagle, I would like to update all but two of the "toy" to "enviro" (so,
in beagle's case, that would be any *one* of the three entries). For ostrich,
I would like to update all but two of the "toy" to "enviro" (so, in ostrich's
case, that would be any *two* of the four entries). For each animal, I want
to maintain the same number of records, but have only two of the records
remain "toy".
AniName and EnriName are text fields. AssignID is an autonumber field. There
are 45 different Aninames with a varying number of records per name in the
table. But for each animal, I want to maintain the same number of records it
has now, but keep only two of them the same and update the rest to "enviro".
Any ideas?
AniName EnriName AssignID
beagle toy 1
beagle toy 2
beagle toy 3
ostrich toy 4
ostrich toy 5
ostrich toy 6
ostrich toy 7
For beagle, I would like to update all but two of the "toy" to "enviro" (so,
in beagle's case, that would be any *one* of the three entries). For ostrich,
I would like to update all but two of the "toy" to "enviro" (so, in ostrich's
case, that would be any *two* of the four entries). For each animal, I want
to maintain the same number of records, but have only two of the records
remain "toy".
AniName and EnriName are text fields. AssignID is an autonumber field. There
are 45 different Aninames with a varying number of records per name in the
table. But for each animal, I want to maintain the same number of records it
has now, but keep only two of them the same and update the rest to "enviro".
Any ideas?