I have 2 Employee IDs
and when querying the table I get for each individual ID a varied amount of records. I would like to count each record and restart my counter when I get to the next ID.
i.e.
ID # 654 has 7 records and ID # 876 has 4 records I want in my query results as follows
[tt] Counter ID# TxtFld
1 654 A
2 654 B
3 654 C
4 654 D
5 654 E
6 654 F
7 654 G
1 876 K
2 876 L
3 876 M
4 876 N[/tt]
and when querying the table I get for each individual ID a varied amount of records. I would like to count each record and restart my counter when I get to the next ID.
i.e.
ID # 654 has 7 records and ID # 876 has 4 records I want in my query results as follows
[tt] Counter ID# TxtFld
1 654 A
2 654 B
3 654 C
4 654 D
5 654 E
6 654 F
7 654 G
1 876 K
2 876 L
3 876 M
4 876 N[/tt]