TomBarrand
Programmer
Within a purchase order table I have a column that is a counter for each purchase order line. The counter is used as this data is being read into another system and to make it easier for the user the lines are incremented. The problem I have is that when a line is deleted from the table the counter will not be correct. Is there are update statement I can run after the delete, that makes the counters correct for a purchase order.
PONO Counter Descrip
1 1 Shirt
1 2 Trousers
1 3 Tie
2 1 Shoes
2 2 Shirt
PONO Counter Descrip
1 1 Shirt
1 2 Trousers
1 3 Tie
2 1 Shoes
2 2 Shirt