I have a table in my database and would like to mark occurrences where certain code repeats itself. Remember that this code field is not a primary key.
Example:
Data Código Repetição Status ...
25/2/2014 138863 ok C96 ...
25/2/2014 387707 ok C96 ...
25/2/2014 387707 nok C96 ...
25/2/2014 387707 nok C96 ...
25/2/2014 387707 nok C96 ...
25/2/2014 1845141 ok C96 ...
25/2/2014 1845141 nok C96 ...
25/2/2014 1845141 nok C96 ...
25/2/2014 1845141 nok C96 ...
25/2/2014 1845141 nok C96 ...
25/2/2014 1845141 nok C96 ...
Does anyone have any idea how I can create the repeating column with the above logic (first occurrence, mark as ok
, in other nok
) using some query?
I am currently using this table in an Access database.