Re: Top Ten Filter
- From: "Al Campagna" <alcampagna@msnewsgroups>
- Date: Wed, 14 Feb 2007 08:44:53 -0500
fapa,
Using the query design grid, create a Totals query to sum each employees shares, and
sorts that result by SumofShares Descending. When that works OK, then simply use the Top
combo (10) to see the top ten.
EmpNo Last First Shares
GroupBy GroupBy GroupBy Sum
Desc
How you decide to "display" this data to the user is up to you. The above query could
feed a pop-up form, report, list box,... etc...
--
hth
Al Campagna . Candia Computer Consulting . Candia, NH USA
Microsoft Access MVP
http://home.comcast.net/~cccsolutions
"Find a job that you love, and you'll never work a day in your life."
"fapa via AccessMonster.com" <u19477@uwe> wrote in message news:6dca00efc0ea7@xxxxxx
Hey Everyone
Wondering if someone can help...
I've got a form that shows a list of employees in the company, and the number
of shares each employee has been issued. Each employee is even a certificate
(share_cert_number) with the number of shares their allowed.
I'm trying to create a sort of Top 10 employees list which is defined as
employees with the most shares. At present, i can create a top 10 list
however many employees names reappear on it as they have been issued lots of
share certificates with many shares. What i'd like is a list which shows 10
individual employees with the TOTAL value of their shares (hence total value
of all share certs issued to them) can someone help on how this can be done?
the fields on the form are:
Employee_number
first_name
Last_name
no_of_shares
thanks
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/200702/1
.
- Follow-Ups:
- Re: Top Ten Filter
- From: fapa via AccessMonster.com
- Re: Top Ten Filter
- References:
- Top Ten Filter
- From: fapa via AccessMonster.com
- Top Ten Filter
- Prev by Date: RE: How do I use the Command Button to look for records in form???
- Next by Date: Re: Use a subform?
- Previous by thread: Top Ten Filter
- Next by thread: Re: Top Ten Filter
- Index(es):
Relevant Pages
|