Hello,
I'm using Access 2000 and don't have any other software.
I have a working cross tab query where i have 2 different ranges for column heading and row headings. To simplify lets say:
A-C D-F Total
1-5 10 10
6-10 20 30 50
Lets say my table looks like:
ID AlphaType NumberType Value AlphaRange NumRange
1 4 A 10 A-C 1-5
2 6 B 20 A-C 6-10
3 7 D 30 D-F 6-10
So i want my report to look like:
A-C D-F Total
1-5 10 10
6-10 20 30 50
Total 30 30
My problem is i will be running different data tables through this, I can't get the report to work in a dynamic way like if I don't have any "D-F" values on the next table, that column won't be there and it should look like:
A-C Total
1-5 10 10
6-10 20 20
Total 30
Thanks for any help. I have been searching everywhere. And i can understand basic vba code. thanks
I'm using Access 2000 and don't have any other software.
I have a working cross tab query where i have 2 different ranges for column heading and row headings. To simplify lets say:
A-C D-F Total
1-5 10 10
6-10 20 30 50
Lets say my table looks like:
ID AlphaType NumberType Value AlphaRange NumRange
1 4 A 10 A-C 1-5
2 6 B 20 A-C 6-10
3 7 D 30 D-F 6-10
So i want my report to look like:
A-C D-F Total
1-5 10 10
6-10 20 30 50
Total 30 30
My problem is i will be running different data tables through this, I can't get the report to work in a dynamic way like if I don't have any "D-F" values on the next table, that column won't be there and it should look like:
A-C Total
1-5 10 10
6-10 20 20
Total 30
Thanks for any help. I have been searching everywhere. And i can understand basic vba code. thanks