Greetings - I have a normalized table that looks like this.
ID and Indx are Long, and Code is Text. Each ID has Indx values in increasing order.
In my actual table there are 8 to 15 records for each ID.
I need to populate a new table that generates a SERIAL NUMBER for each ID. For the above table, the results would be as shown below.
I'm thinking VBA may be needed, but I'm even less confident with that that SQL. Thank you for any ideas.
Teach314
ID and Indx are Long, and Code is Text. Each ID has Indx values in increasing order.
In my actual table there are 8 to 15 records for each ID.
Code:
ID Indx Code
1 2 X
1 5 Y
1 11 Q
1 12 4
2 5 D
2 6 3
3 1 W
3 3 B
3 7 1
3 8 8
4 1 R
5 1 etc
I need to populate a new table that generates a SERIAL NUMBER for each ID. For the above table, the results would be as shown below.
Code:
ID SerialNumber
1 XYQ4
2 D3
3 WB18
4 R
5 etc
I'm thinking VBA may be needed, but I'm even less confident with that that SQL. Thank you for any ideas.
Teach314