In my ordersystem, I want to use the AutoIncement function to incement the row-number of the details.
This works fine in an order, but when I make a new order, the row-number continues from the last order's rownumber.

How should it be reset and start with 1 again?