G
Guest
Hi,
I have a Load Details table that looks like this:
OrderID
pk LoadID
ShipperID
Status
The LoadID's for each order always correspond to the OrderID and are
followed by a - then the sequential number.
Example: the first 3 loads for OrderID number 54321 are as follows:
54321-1
54321-2
54321-3
Is there anyway to automate this process, so that everytime a new record is
created, the LoadID is generated based on the OrderID it belongs to and the
previous LoadID's which exist in that order.
Thanks,
Justin
I have a Load Details table that looks like this:
OrderID
pk LoadID
ShipperID
Status
The LoadID's for each order always correspond to the OrderID and are
followed by a - then the sequential number.
Example: the first 3 loads for OrderID number 54321 are as follows:
54321-1
54321-2
54321-3
Is there anyway to automate this process, so that everytime a new record is
created, the LoadID is generated based on the OrderID it belongs to and the
previous LoadID's which exist in that order.
Thanks,
Justin