H
HeatherD25
Hi,
I have a query where I have a lot of calculated fields. I need to run in
monthly to generate a report.
Example of a calculated field:
TOTAL: ([Value1]+[Value2]+[Value3])
Some months I will have all 3 values to calculate, but some months I will
only have 1 or 2 or the values to calculate. These values come from a
crosstab query so if the values aren't there that month I will get an error
when I try to run the query.
Is there a way to write the calculation such that I can say "If Value1 is in
the cross tab query, add if to Value 2 (if it's in the crosstab query), add
it to Value 3 (if it's in the crosstab query).
Hope this makes sense. Thanks for your help!!
Heather
I have a query where I have a lot of calculated fields. I need to run in
monthly to generate a report.
Example of a calculated field:
TOTAL: ([Value1]+[Value2]+[Value3])
Some months I will have all 3 values to calculate, but some months I will
only have 1 or 2 or the values to calculate. These values come from a
crosstab query so if the values aren't there that month I will get an error
when I try to run the query.
Is there a way to write the calculation such that I can say "If Value1 is in
the cross tab query, add if to Value 2 (if it's in the crosstab query), add
it to Value 3 (if it's in the crosstab query).
Hope this makes sense. Thanks for your help!!
Heather