WhiteKnight2K
Technical User
Hello,
I'll first describe the situation then I'll ask the question so its makes sense what I am asking.
Currently I have a database that stores Species of a tree as well as Location Class. Right now there are 3 Species and 6 Location Classes, however this could change because it is user controlled (i.e. new entries can be created).
In one of the reports I am developing, I need to show a summary of each tree Species within each Location Class for each Municipality (there are about 200 municipalities in the database)
In the summary i would like to show all of the species/ location class combinations even if there are no trees that fit the specific combination. It sort of would look like so:
Summary for Municipality1:
Species
Location Class American Elm Siberian Elm Japan Elm
BLVD
ORN
WILD
RIVERBANK
So i would like the summary to look like that. The Tree table has a field for Species and a field for Location Class among other things.
I thought that a Crosstab would be able to do this for me. I set the Crosstab up with Row->Location Class and Column->Species and a Running Total as the field to sum (the running total was set to count each tree and set to reset on Change of Municipality).
However, when the report is run, the crosstab on shows those combinations for which there is a record. For example, it will show something like this:
Species
Location Class American Elm
BLVD 10
WILD 5
But it will not show the other combinations. I realize the other combination do not have a record that fits but I would still like to show this in the summary.
Any ideas how to set this up?
Thanks!
I'll first describe the situation then I'll ask the question so its makes sense what I am asking.
Currently I have a database that stores Species of a tree as well as Location Class. Right now there are 3 Species and 6 Location Classes, however this could change because it is user controlled (i.e. new entries can be created).
In one of the reports I am developing, I need to show a summary of each tree Species within each Location Class for each Municipality (there are about 200 municipalities in the database)
In the summary i would like to show all of the species/ location class combinations even if there are no trees that fit the specific combination. It sort of would look like so:
Summary for Municipality1:
Species
Location Class American Elm Siberian Elm Japan Elm
BLVD
ORN
WILD
RIVERBANK
So i would like the summary to look like that. The Tree table has a field for Species and a field for Location Class among other things.
I thought that a Crosstab would be able to do this for me. I set the Crosstab up with Row->Location Class and Column->Species and a Running Total as the field to sum (the running total was set to count each tree and set to reset on Change of Municipality).
However, when the report is run, the crosstab on shows those combinations for which there is a record. For example, it will show something like this:
Species
Location Class American Elm
BLVD 10
WILD 5
But it will not show the other combinations. I realize the other combination do not have a record that fits but I would still like to show this in the summary.
Any ideas how to set this up?
Thanks!