Hi guys:
I have a problem.
I have a table with several batches in it. In this case a batch is a group of records that share the same batch number.
I need to be able to sequence the records in each batch in a particular order, numbered by the number of records in each batch.
So...batch 1 has 50 records; I need to sequence each record in the batch,order 1 to 50.
Batch 2 has 75 records; I need to sequence each record in the batch,order 1 to 75.
The sequencing does not exist at the moment; I want to sort the table and the batches in the table into the order I want (I think I can handle that) then create a unique number for each record in each batch.
So I need a'break' between batches in the same table.
A kind of "while batch 1, sequence from 1 to 50, then while batch 2 sequence from 1 to 75..etc"
Is this feasible?
Thanks!
I have a problem.
I have a table with several batches in it. In this case a batch is a group of records that share the same batch number.
I need to be able to sequence the records in each batch in a particular order, numbered by the number of records in each batch.
So...batch 1 has 50 records; I need to sequence each record in the batch,order 1 to 50.
Batch 2 has 75 records; I need to sequence each record in the batch,order 1 to 75.
The sequencing does not exist at the moment; I want to sort the table and the batches in the table into the order I want (I think I can handle that) then create a unique number for each record in each batch.
So I need a'break' between batches in the same table.
A kind of "while batch 1, sequence from 1 to 50, then while batch 2 sequence from 1 to 75..etc"
Is this feasible?
Thanks!