Hi,
I am struggling to add a running number to a select query and group them in blocks of 6.
So say my table has a field 'colours' and I run a select query where 'colour'='red'. I would like to display a new column which counts down but not 12345678 - instead it gives the first 6 selected records the number 0; the next six the number 6; the next six the number 12 etc etc.
Thanks, Mark.
I am struggling to add a running number to a select query and group them in blocks of 6.
So say my table has a field 'colours' and I run a select query where 'colour'='red'. I would like to display a new column which counts down but not 12345678 - instead it gives the first 6 selected records the number 0; the next six the number 6; the next six the number 12 etc etc.
Thanks, Mark.