D
DavidW
I have got a query that caculates the sum of a field using Nz, also in the
same query I have got a month field and a yearfield.
What I am trying to do is get the query to show all months, which it does
when there is data present for each month, but if you delete the data, it
shows nothing for that month.
Can a query be force to show nulls as zeros for a month if no entries are
detected.
In the query also I am setting criteria for the year and also for a range of
months like >4, which gives me jan, feb, march.
What I have got now is like the following
monthfield yearfield nz([totalgal],0)
1 2003 10
2 2003 15
What I would like to end up with is
monthfield yearfield nz([totalgal],0)
1 2003 10
2 2003 15
3 2003 0
Thanks
David
same query I have got a month field and a yearfield.
What I am trying to do is get the query to show all months, which it does
when there is data present for each month, but if you delete the data, it
shows nothing for that month.
Can a query be force to show nulls as zeros for a month if no entries are
detected.
In the query also I am setting criteria for the year and also for a range of
months like >4, which gives me jan, feb, march.
What I have got now is like the following
monthfield yearfield nz([totalgal],0)
1 2003 10
2 2003 15
What I would like to end up with is
monthfield yearfield nz([totalgal],0)
1 2003 10
2 2003 15
3 2003 0
Thanks
David