Hi, to all members
This is my first appeal to the forum...but I think its a tricky problem...
I have a table of the following form
Time DataClass
1.2 A
1.3 A
1.4 B
1.5 C
1.6 D
1.7 D
1.8 A
1.9 A
2.0 A
etc
I want to produce the following Table
Min Max DataClass
1.2 1.4 A
1.4 1.5 B
1.5 1.6 C
1.6 1.8 D
1.8 2.0 A
etc...
Actually I want to group together only continuous data in the DataClass Domain and not All A's together , which would be easy with a groub by statement.
It seems to me like a run length encoding(rle)on the first table , but I have no previous experience of handling recordsets through the Access vba interface so...
Also another prob I'm facing is that the initial table could have more or less than the four classes (A,B,C,D) so I don't want to write in if's containing A,B,C,D....
Any Ideas Are welcomed, because I'm a bit of stuck here(well ok Actually lots of stuck!!!)
Thanks In Advance
Nick
This is my first appeal to the forum...but I think its a tricky problem...
I have a table of the following form
Time DataClass
1.2 A
1.3 A
1.4 B
1.5 C
1.6 D
1.7 D
1.8 A
1.9 A
2.0 A
etc
I want to produce the following Table
Min Max DataClass
1.2 1.4 A
1.4 1.5 B
1.5 1.6 C
1.6 1.8 D
1.8 2.0 A
etc...
Actually I want to group together only continuous data in the DataClass Domain and not All A's together , which would be easy with a groub by statement.
It seems to me like a run length encoding(rle)on the first table , but I have no previous experience of handling recordsets through the Access vba interface so...
Also another prob I'm facing is that the initial table could have more or less than the four classes (A,B,C,D) so I don't want to write in if's containing A,B,C,D....
Any Ideas Are welcomed, because I'm a bit of stuck here(well ok Actually lots of stuck!!!)
Thanks In Advance
Nick