good afternoon all,
have been banging my head against the wall on this and cannot figure out how to do it in access. any suggestions are greatly appreciated.
i have a table. 5 fields. data was inserted with an order by of field 3 and field 2. so, it is in a correct working order. what i would like to do is to autonumber (or do a count of) in field 5 for field 3.
essentially, as long as the active recor in field 3 is the same as the previous record, we increment the counter by 1. if the current field 3 is different from the previous record then we reset the counter to 1.
but i need to write these back into the table.
for the life of me i cannot figure out how to do this via code.
thanks and regards,
longhair
have been banging my head against the wall on this and cannot figure out how to do it in access. any suggestions are greatly appreciated.
i have a table. 5 fields. data was inserted with an order by of field 3 and field 2. so, it is in a correct working order. what i would like to do is to autonumber (or do a count of) in field 5 for field 3.
essentially, as long as the active recor in field 3 is the same as the previous record, we increment the counter by 1. if the current field 3 is different from the previous record then we reset the counter to 1.
but i need to write these back into the table.
for the life of me i cannot figure out how to do this via code.
thanks and regards,
longhair