sadly, my report still cannot count of books that's teacher borrowing.
In details ;
Teacher's name;
Book's name;
date of borrowing;
Notes;
l also need to count the numbers of teaching using library for borrowing
books .
Thanks in advance
If you're storing the teacher's name in the Borrowing table... your
design is probably wrong.
That said: create a Query based on this table. Select the book's name
and teacher's name field. View the query's Properties, and set the
"Unique Values" property to true. This will give one record for each
book that the teacher borrowed (no matter how many times that book was
borrowed).
Now create ANOTHER query based on this query. Make it a Totals query
by clicking the Greek Sigma icon - it looks like a sideways W. Group
By the teacher's name and select the Book's Name field *twice*; Group
By one instance and Count the other.
John W. Vinson[MVP]