I am wondering if somebody could tell me why this won't work.
I have three queries with a field for totals in each table: in the queries below:
qryweekly
qryspecial
qrycollections
In a datasheet view form I am trying to show individual totals for each row (record), under headings corresponding to the tables above. However, I would also like to be able to show the sum total for each individual record from all three queries.
In the query design view I use a calculated field where I sum the totals from all three queries.
But I am not getting what I should. It will only total them if there are values from all three queries. I have tried using Val(NZ,0) but no good.
I hope that you can follow all this
Regards
John
I have three queries with a field for totals in each table: in the queries below:
qryweekly
qryspecial
qrycollections
In a datasheet view form I am trying to show individual totals for each row (record), under headings corresponding to the tables above. However, I would also like to be able to show the sum total for each individual record from all three queries.
In the query design view I use a calculated field where I sum the totals from all three queries.
Code:
AllTotals: [sumweekly]+[Sumspecial]+[Sumcollections]
But I am not getting what I should. It will only total them if there are values from all three queries. I have tried using Val(NZ,0) but no good.
I hope that you can follow all this
Regards
John