List non-sequenced number
I have Access 2000 database. In its table, there is a
field, called Case and field type is number.
Usually its data is in sequence. But sometimes, it skips
one number. I want to list the beginning of records, and
end of sequence.
For example, data is 1, 2, 3, 5, 6, 7, 8, 10, 11.
Report should list:
From 1 to 3
From 5 to 8 and
From 10 to 11.
Do you have any functions that make me do this?
I appreciate your suggestions in advance.
Thank you very much.
|