M
Marianne
Can this task be accomplished through an update query?
I want to number the lines for an existing database. There are 13K+ records
in table A.
I have a query using the count function which returns the correct number of
lines for each InvID, but how do I update each line with the correct number,
1,2,3 etc?
Table A has a one-to-many relationship with Table B. The primary key fields
are Table A.InvID and Table B.DetInvID I have added a field [LineNum] to
Table B. [LineNum] should increment starting at 1 for each InvID.
TableB.InvID TableB.LineNum
555 1
555 2
555 3
556 1
557 1
557 2
Assistance is greatly appreciated!
Marianne
I want to number the lines for an existing database. There are 13K+ records
in table A.
I have a query using the count function which returns the correct number of
lines for each InvID, but how do I update each line with the correct number,
1,2,3 etc?
Table A has a one-to-many relationship with Table B. The primary key fields
are Table A.InvID and Table B.DetInvID I have added a field [LineNum] to
Table B. [LineNum] should increment starting at 1 for each InvID.
TableB.InvID TableB.LineNum
555 1
555 2
555 3
556 1
557 1
557 2
Assistance is greatly appreciated!
Marianne