sjl
07-08-2008, 01:49 PM
I have created a report based on a crosstab query.
The crosstab query shows me the count of activity (counts the dates posted for a month) for 2 categories (Cat1, Cat2), and totals these counts by month (Total Activity (Count(*)).
That is, I have
FIELD:........Year............Month.......Cat1.... ...Ca t2.......Total Activity
TOTAL:.......Group By......Grp By.......Count.....Count......Expression
CROSSTAB:..Row Head.....Row Head..Value......Value......Row Heading
However, when there is no activity for a month, the month does not show--but the boss wants a line generated anyway.
Is there a way to get Month to show even when no activity occurs?
I'm thinking I could put an IIf statement in the criteria line for Month...but Access prompts me for a "Total Activity" value the way I have it now...
iif([Total Activity] is null,[Month],[Month])
any ideas appreciated,
sjl
The crosstab query shows me the count of activity (counts the dates posted for a month) for 2 categories (Cat1, Cat2), and totals these counts by month (Total Activity (Count(*)).
That is, I have
FIELD:........Year............Month.......Cat1.... ...Ca t2.......Total Activity
TOTAL:.......Group By......Grp By.......Count.....Count......Expression
CROSSTAB:..Row Head.....Row Head..Value......Value......Row Heading
However, when there is no activity for a month, the month does not show--but the boss wants a line generated anyway.
Is there a way to get Month to show even when no activity occurs?
I'm thinking I could put an IIf statement in the criteria line for Month...but Access prompts me for a "Total Activity" value the way I have it now...
iif([Total Activity] is null,[Month],[Month])
any ideas appreciated,
sjl