I realize this has been covered a billion times, I've read them all and still can't get it. My table looks like this:
DOCUMENT-SER.NO
MC006343 -SST-24569
MC006344 -SST-27209
MC006344 -SST-27210
MC006397 -SST-25019
MC006397 -SST-24562
MC006397 -SST-24562
MC006397 -SST-99173
MC006397 -SST-99173
DOCUMENT-SER.NO.-NEED THIS
MC006343 -SST-24569-0001
MC006344 -SST-27209-0001
MC006344 -SST-27210-0002
MC006397 -SST-25019-0001
MC006397 -SST-24562-0002
MC006397 -SST-24562-0003
MC006397 -SST-99173-0004
MC006397 -SST-99173-0005
At every change in Document Number, start the numbering over.
Using an Update Query, I need to update a field (named LINE) showing the numbers in the "NEED THIS" column above. 0001, 0001, 0002, 0001, 0002, 0003, 0004, 0005...etc.
This would give me a different line number for each document...
I've read all the autonumber and dmax posts, and still can't get it.
NOVICE Access User...can use queries pretty good, but not SQL.
MSAccess 2003, Windows XP Pro...
Thanks in advance!