Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cross tab not showing Null number values

Status
Not open for further replies.

pokerace

Technical User
May 24, 2005
118
US
I have a crosstab report by year that totals the number of string fields that meet my selection criteria. The crosstab table skips the years where there are no values that meet the chosen criteria. For example,

YEAR Total
2001 5
2002 4
2004 6
2005 3

and I want it to show 0 for a year with no values to total, such as 2003 in the example. I have tried checking the Null To Default value checkboxes in Report Options but that didn't work. Is there something else I need to do?
 
That's a more general problem in Crystal - it doesn't include groups that have no detail records.

You could try a 'mock crosstab', in which you define all possible totals, rather than letting Crystal create them from the data. This could be done using runnning totals which test for each possible year.


[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top