D
Dave Lagergren
I have a database where I store orders. One order may have multiple records.
Because of this I cannot use the "Key" to assign order numbers. I have a
column "OrderNumber" that needs to increment with each new order. I was
thinking of storing the last assigned OrderNumber in the first record but was
wondering if there was an easier, cleaner way to do this? Possibly looping
through the records to find the highest OrderNumber?
Because of this I cannot use the "Key" to assign order numbers. I have a
column "OrderNumber" that needs to increment with each new order. I was
thinking of storing the last assigned OrderNumber in the first record but was
wondering if there was an easier, cleaner way to do this? Possibly looping
through the records to find the highest OrderNumber?