Top n for each employee (1 Viewer)

tzimak

New member
Local time
Today, 04:57
Joined
Jul 19, 2001
Messages
5
Hi all

I have seen similar questions to this one throughout the forum, but no answers. Maybe it's just not possible?

How do I display (either through a Query or on a Report) the top 3 values (or the last 5 records) for each employee? There is a option to display the top 3 values of the whole entire table, but not unique to the employee. Would I have to combine ONE query for each employee (yikes) and then somehow append them all together?

Thanks in advance.
Tasmin Zimak
 

jstutz

Registered User.
Local time
Today, 04:57
Joined
Jan 28, 2000
Messages
80
I did a quick test on a form that should also work for a report. Basically, I have a form and a subform linked by a key value.

I then created a query that said select the Top 3 records based on the key value displayed on the form and used that query to populate the subform. Worked like a charm. I should think the same would also apply to a report.

Let me know if this doesn't make sense and I can explain in a bit more detail, but I'm running out the door right now!


Good luck!

jamie
 

Users who are viewing this thread

Top Bottom