MattBaldry
Self Taught, Learn from the Forums
- Local time
- Today, 19:21
- Joined
- Feb 5, 2019
- Messages
- 330
Hi All,
Is there any way I can get a query to create a sequence number based on the first column, but start again when the data in the first column changes?
I have a query that has 511 rows. Column1 is BomReference and this has a total of 30 different BomRefences. What I am after is the query to generate the sequence number starting from 1, based on the the BomReference.
IE BP-000001-01000 is sequenced 1 to 17 and then when Column1 changes to BP-000001-01500 it starts at 1 again, through to 17 (or however many rows have that reference)
~Matt
Is there any way I can get a query to create a sequence number based on the first column, but start again when the data in the first column changes?
I have a query that has 511 rows. Column1 is BomReference and this has a total of 30 different BomRefences. What I am after is the query to generate the sequence number starting from 1, based on the the BomReference.
IE BP-000001-01000 is sequenced 1 to 17 and then when Column1 changes to BP-000001-01500 it starts at 1 again, through to 17 (or however many rows have that reference)
~Matt