aqif
10-22-2001, 05:21 AM
Hi http://www.access-programmers.co.uk/ubb/smile.gif
I've got a query which gives me output like:
Stage CountofStage
1a 5
1b 3
2a 6
2b 4
3a 2
Instead of this I want an output in a grouping manner like
Stage CountofStage
1 8 (5+3)
2 10
3 2
i think that maybe Substring fuction will work..but dont know how to...n one thing is that Stage will never be greater than 9 like u'll never have a stage like 10a
Cheers!
Aqif
I've got a query which gives me output like:
Stage CountofStage
1a 5
1b 3
2a 6
2b 4
3a 2
Instead of this I want an output in a grouping manner like
Stage CountofStage
1 8 (5+3)
2 10
3 2
i think that maybe Substring fuction will work..but dont know how to...n one thing is that Stage will never be greater than 9 like u'll never have a stage like 10a
Cheers!
Aqif