Thank you for reviewing this. The data in the drop down list (InfractionLis)
consist of 20 catagory some of which are "No Violation","Turn signal", "Yield
right of way" and "Curb wheels" to list a few. A person may violate some or
all of the catagory with the exception of "No Violation" It is the catagories
violated I am to track for each employee [EmplID] whether it is one or many.
The other problem to over come is the report. It would be a crosstab query
showing the sum of violations for each catagory monthly.
Then you have a Many (employees) to Many (violations) relationship. The proper
way to model this is with three tables: Employees, with primary key and
biographical data; Violations, just the list of violations (perhaps with other
fields such as severity, e.g. Vehicular Assault might be a firing offense,
while Curb Wheels wouldn't); and EmployeeViolations, which I'd suggest should
have fields EmplID (a link to Employees), Violation (a link to Violations),
IncidentDate (or perhaps IncidentDateTime), and Comments.
Rather than twenty fields you would enter zero, one, sixteen, or sixty
*records* in this latter table, using a Subform. I'd leave out "No Violation"
since it is redundant - just doing a search and finding zero matches in the
EmployeeViolations table implies... well... no violations.
You can certainly base a Crosstab query on this table for the report; join the
table to Employees, use the EmplID and the employee name as Row Headers and
the violation as the Column Header.
John W. Vinson [MVP]