D
Deb
I have a large table with one column containing numbers. After sorting the
column, I need to identify the start and end number for each set of
contiguous numbers. Can I do this in Access? If so, how? e.g.
1234 -
1235 - Block: StartNum=1234 EndNum=1236
1236 -
2001
3004
4995 - Block: StartNum=4995 EndNum=4996
4996 -
5320
I'd like to compare the number in one row to the number in the next row and
determine if the numbers are contiguous. For each group of two or more
contiguous numbers, a start and end number for that found 'block' would be
established.
column, I need to identify the start and end number for each set of
contiguous numbers. Can I do this in Access? If so, how? e.g.
1234 -
1235 - Block: StartNum=1234 EndNum=1236
1236 -
2001
3004
4995 - Block: StartNum=4995 EndNum=4996
4996 -
5320
I'd like to compare the number in one row to the number in the next row and
determine if the numbers are contiguous. For each group of two or more
contiguous numbers, a start and end number for that found 'block' would be
established.