G
Guest
This table I am working on contains a large number of records containing data
about students. The first 2 fields identify the student uniquely; the third
field contains one bit of the data. There are about 9 records for a student,
each containing different kinds of data in the third field. The records for
a given student are consecutive in the table. (I know it sounds like a
rather strange table, but this is where I am right now!)
I now need to update the database so that it contains only the first 6
records for each student. So, the query will idendify the first 6 records
for each student and then delete any other records it finds with the same
student identifier. Is there some way of doing this?
Alternatively, perhaps I could do the sensible thing and combine each bit of
data into a single record for each student. Then the first 2 fields would be
the identifier followed by a series of fields each containing one bit of
data. I could then keep the first 6 data fields and delete the rest.
I hope this makes sense - any help would be much appreciated.
Jim Jones
Botswana
about students. The first 2 fields identify the student uniquely; the third
field contains one bit of the data. There are about 9 records for a student,
each containing different kinds of data in the third field. The records for
a given student are consecutive in the table. (I know it sounds like a
rather strange table, but this is where I am right now!)
I now need to update the database so that it contains only the first 6
records for each student. So, the query will idendify the first 6 records
for each student and then delete any other records it finds with the same
student identifier. Is there some way of doing this?
Alternatively, perhaps I could do the sensible thing and combine each bit of
data into a single record for each student. Then the first 2 fields would be
the identifier followed by a series of fields each containing one bit of
data. I could then keep the first 6 data fields and delete the rest.
I hope this makes sense - any help would be much appreciated.
Jim Jones
Botswana