C
Corey Ryan
Hello,
I have been searching for a solution for my problem for about 4 weeks and am banging my head against a wall.
I have 4 Access 2003 queries (Capital Replacement,Maintenance, Operations and Expansion) that have various Asset Items in the first column and the following 20 columns are Year 1, Year 2, Year 3....Year 20. Each query prompts for a start year (eg 2009). Numerous equations in the queries calculate replacement costs at the required year.
I created sub-total queries of all the above queriesgiving me 1 row by 20 column Queries.
My aim is to be able to chart total operation, maintenance, renewal and expansion costs by year (1 to 20)
My question is how do I transpose each single row query so that the initial column headings (Year 1, Year 2 etc form the data in the first column of the transposed table
SumofYear 1 SumofYear 2 SumofYear 3....SumofYear 20
----------------------------------------------------
$ Value 1 $ Value 2 $ Value 3
ie I need the transposed table to look like
Field 1 Field 2
------------------------
SumofYear 1 $ value 1
SumofYear 2 $ value 2
SumofYear 3 $ value 3
etc
I would deeply appreciate any help here at all..
Thanks
Submitted via EggHeadCafe - Software Developer Portal of Choice
Getting Better Information on Unhandled Exceptions In Managed Code
http://www.eggheadcafe.com/tutorial...f-5ff1e261144c/getting-better-informatio.aspx
I have been searching for a solution for my problem for about 4 weeks and am banging my head against a wall.
I have 4 Access 2003 queries (Capital Replacement,Maintenance, Operations and Expansion) that have various Asset Items in the first column and the following 20 columns are Year 1, Year 2, Year 3....Year 20. Each query prompts for a start year (eg 2009). Numerous equations in the queries calculate replacement costs at the required year.
I created sub-total queries of all the above queriesgiving me 1 row by 20 column Queries.
My aim is to be able to chart total operation, maintenance, renewal and expansion costs by year (1 to 20)
My question is how do I transpose each single row query so that the initial column headings (Year 1, Year 2 etc form the data in the first column of the transposed table
SumofYear 1 SumofYear 2 SumofYear 3....SumofYear 20
----------------------------------------------------
$ Value 1 $ Value 2 $ Value 3
ie I need the transposed table to look like
Field 1 Field 2
------------------------
SumofYear 1 $ value 1
SumofYear 2 $ value 2
SumofYear 3 $ value 3
etc
I would deeply appreciate any help here at all..
Thanks
Submitted via EggHeadCafe - Software Developer Portal of Choice
Getting Better Information on Unhandled Exceptions In Managed Code
http://www.eggheadcafe.com/tutorial...f-5ff1e261144c/getting-better-informatio.aspx