EliseFreedman
Programmer
I have a crosstab query which is based on a normal select query. It calculates the amount of stock returned by all our customers. The crosstab query displays the amount of stock returned each month for each customer
i.e
Jan Feb Mar Apr.........
Focus DIY 9.40 6.2
Stax 8.5 5.4
Basically, where they have no returns for a particular month, I would like to insert a zero so that I end up with the following
Jan Feb Mar Apr.........
Focus DIY 9.40 0 6.2 0
Stax 0 8.5 0 5.4
How would I do this. I have tried changing the value in the crosstab query to IIf(IsNull([Total]),0,[Total])) but it didnt make any difference.
i.e
Jan Feb Mar Apr.........
Focus DIY 9.40 6.2
Stax 8.5 5.4
Basically, where they have no returns for a particular month, I would like to insert a zero so that I end up with the following
Jan Feb Mar Apr.........
Focus DIY 9.40 0 6.2 0
Stax 0 8.5 0 5.4
How would I do this. I have tried changing the value in the crosstab query to IIf(IsNull([Total]),0,[Total])) but it didnt make any difference.