Hello
I am not sure If I can explain this toowell, but here we go.
I have a table with components in and renew years this has a relationship with a schedule of rates (SOR) table.
I have created a crosstab query which shows the component name as row, and renew year as column heading. The value is a calculation of the rate in the SOR table against the component quantity. All works ok.
Now I have had to create another query from this crosstab in order to create more calculations. I.e This is a 30 yr profile and components have life cycles. So if the life cycle was 10 you would see the cost in for example. Year 1 Year 11 and Year 21 This all works ok.
However what I need now is some components in the same query have different cycles, So I cant simply say add costs in year 1 to 11 and 21.
I need to say IF KITCHEN (15) in year 1 then add costs to years 15 and then IF BOILER (10) in year 1 then add costs to years 11 and 21.
Can this be done?
Thanks
I am not sure If I can explain this toowell, but here we go.
I have a table with components in and renew years this has a relationship with a schedule of rates (SOR) table.
I have created a crosstab query which shows the component name as row, and renew year as column heading. The value is a calculation of the rate in the SOR table against the component quantity. All works ok.
Now I have had to create another query from this crosstab in order to create more calculations. I.e This is a 30 yr profile and components have life cycles. So if the life cycle was 10 you would see the cost in for example. Year 1 Year 11 and Year 21 This all works ok.
However what I need now is some components in the same query have different cycles, So I cant simply say add costs in year 1 to 11 and 21.
I need to say IF KITCHEN (15) in year 1 then add costs to years 15 and then IF BOILER (10) in year 1 then add costs to years 11 and 21.
Can this be done?
Thanks