[Year 12 IT Apps] Access question

Nick Karakoussis Nick.Karakoussis at wesleycollege.net
Tue Mar 13 15:03:17 EST 2007


Hi Mark,
The best way is to use a query:

1. create a query based on the table, select the field you want to do a
count of , eg customer 
2. in design mode, display totals (click S on the toolbar)  this will
add a row labelled Total: and the default setting will be Group By
3. click and drag this field a second time but change the setting from
Group By to Count
4. at this stage you should get a display of the customer and how many
occurances his names appears
5. in design mode, sort by Descenting order and
6. display properties and set Top values to 1 (can also be a
percentages)

you can also use this as the record source for a form or a report, but
it will only show the top 1 record. 

Hope this has been useful

Nick

>>> jones.mark.a at edumail.vic.gov.au 13/03/2007 2:14:41 pm >>>
Dear all

I'm looking for a function (for a query or report) that will search a
list of names then provide the name of the most numerous one. Any ideas
would be appreciated.

regards
Mark Jones
Cann River P-12 College

Important - This email and any attachments may be confidential. If
received in error, please contact us and delete all copies. Before
opening or using attachments check them for viruses and defects.
Regardless of any loss, damage or consequence, whether caused by the
negligence of the sender or not, resulting directly or indirectly from
the use of any attached files our liability is limited to resupplying
any affected attachments. Any representations or opinions expressed are
those of the individual sender, and not necessarily those of the
Department of Education.

____________________________________________________________________________

Sapere Aude - Dare To Be Wise

Wesley College Melbourne is a world class coeducational independent school
developing the whole person through timeless principles of learning:
- to know
- to do
- to live with 
- to be
with innovation and wisdom

ABN 38 994 068 473  CRICOS 00354G
____________________________________________________________________________

This email is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged. If
you are not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this email is strictly prohibited.
If you have received this email in error, please email a reply to Wesley
College and destroy the original message.
____________________________________________________________________________



More information about the itapps mailing list