Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / August 2006

Tip: Looking for answers? Try searching our database.

still cannot found

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zila - 02 Aug 2006 05:03 GMT
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
John Vinson - 02 Aug 2006 05:23 GMT
>sadly, my report still cannot count of books that's teacher borrowing.
>In details ;
[quoted text clipped - 7 lines]
>
>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]
Duane Hookom - 02 Aug 2006 13:00 GMT
If I understand correctly, you have a report that is grouped by Teacher and
displays books in the detail section. You should be able to display either a
header or a footer section for the teacher and add a text box with a control
source of:
=Count(*)
To count the number of different teachers, add a text box to the teacher
group header:
   Name: txtCountTeach
   Control Source: =1
   Running Sum: Over All
   Visible: No
Then add a text box to your report footer:
   Control Source: =txtCountTeach

Signature

Duane Hookom
MS Access MVP

> sadly, my report still cannot count of books that's teacher borrowing.
> In details ;
[quoted text clipped - 7 lines]
>
> Thanks in advance
zila - 02 Aug 2006 17:14 GMT
Thank you Duanne. l will try it and l think your answer its good enough . But
l have one more question , what is the different between "add mode" and "edit
mode" in
switchboard form. and l would like to create one form before l show my
switchboard thats in 3 seconds.but l confused how could l do it.

> If I understand correctly, you have a report that is grouped by Teacher and
> displays books in the detail section. You should be able to display either a
[quoted text clipped - 21 lines]
> >
> > Thanks in advance
Duane Hookom - 02 Aug 2006 21:58 GMT
Next time please ask a new, un-related question in a new thread. You will
have a much wider audience.

Add mode is for adding new records. The previous records don't display when
the form opens. Edit mode will open the form and display existing records.

You can have any form set as the first form to be seen when an mdb opens.

Signature

Duane Hookom
MS Access MVP

> Thank you Duanne. l will try it and l think your answer its good enough .
> But
[quoted text clipped - 33 lines]
>> >
>> > Thanks in advance
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.