I have been trying to figure this out for days now - I know this should be
easy, but I cannot seem to get it.
I have a 3 table relational design, Localities, Species, and a join table. They
are set up to manage a many-to-many relationship, because a locality may have
many species found in it, and a species may appear in many localities. So far,
so good, and the data entry section of my application is finished and working
fine.
However, I can't seem to generate the reports I need. I am trying to summarize
the species found at each locality by some attribute of the species, say the
Family it belongs to (as an example, I have a lot of different ones to
generate). So what I want is a listing by locality, summarized by family, with
subtotals:
Locality 1
Family Aidae
Aus a
Aus b
Total species of Family Aidae at Loc. 1: 2
Family Bidae
Bus c
Bus d
Bus e
Total species of Family Bidae at Loc. 1: 3
Total Species at Locality 1 in all Families: 5
and so on for each locality.
When I have tried to generate this report, either using the report layout
wizard or manually, I get the first Family name and the count field shows the
total number of taxa listed in the Join Table. This happens regardless of what
subsummary the count field is listed in. I have tried creating the count as a
summary field in the join table because I cannot see the fields that need
counting from the Localities table. I have tried setting up the reports in both
the Localities table and in the Join Table, and I get weird results either way.
Please tell me if this is something simple that I am screwing up, and how to
fix it. I have spent hours with the manual, the FMPro 5 Bible, and on the web,
and can't seem to get any answers.
Thanks very much in advance,
Jessica Theodor