T
ThomasK via AccessMonster.com
I am trying to build a report to give a total count of different types of
building inspections. I have two tables. One is called Inspections. It has
among it's fields, InspectionID, Inspector, InspectionType,and InspectionDate.
The other is called Reinspections. It's fields are ReinspectionID,
ReinspectionDate, and InspectionID (foreign key). They are linked one to many.
One inspection to one or more reinspections. There are several types of
inspections. I use a combo box to fill in the InspectionType field on my form.
There is only one type of reinspection but each inspection regaurdless of
type almost allways has more than one associated with it. The two tables are
linked by the InspectionID field.
I want a report to show the number (total count) of inspections by type and
also the number (total count) of reinspections. It needs to show this by
inspector and by a range of dates. (Between_ And_). I don't want to include
information about the inspections (InspectionDate) on the report, just the
Total counts for that time period.
I'm having a hard time building the report without grouping the inspections
by InspectionID. I just want all the totals on the page and nothing else.
Do I need to run two separate queries for the report?
Can I get the reinspection totals without grouping the inspections by
InspectionID?
How do I get the InspectionType totals on the same page?
Thanks for the help.
building inspections. I have two tables. One is called Inspections. It has
among it's fields, InspectionID, Inspector, InspectionType,and InspectionDate.
The other is called Reinspections. It's fields are ReinspectionID,
ReinspectionDate, and InspectionID (foreign key). They are linked one to many.
One inspection to one or more reinspections. There are several types of
inspections. I use a combo box to fill in the InspectionType field on my form.
There is only one type of reinspection but each inspection regaurdless of
type almost allways has more than one associated with it. The two tables are
linked by the InspectionID field.
I want a report to show the number (total count) of inspections by type and
also the number (total count) of reinspections. It needs to show this by
inspector and by a range of dates. (Between_ And_). I don't want to include
information about the inspections (InspectionDate) on the report, just the
Total counts for that time period.
I'm having a hard time building the report without grouping the inspections
by InspectionID. I just want all the totals on the page and nothing else.
Do I need to run two separate queries for the report?
Can I get the reinspection totals without grouping the inspections by
InspectionID?
How do I get the InspectionType totals on the same page?
Thanks for the help.