C
Chuck
I have a table that captures when a person logs onto the database. It
stores their windows logon name, the computer terminal, their department,
and the date/time when they logged on and the date/time when they logged
off. Its for audit purposes.
Currently, there are over 190 people that can sign on and off and any
terminial and any time.
The audit report lists by their department each user's access information,
grouped by their windows logon name. Depending on the person, the report is
rather long and spans many pages. The audit review group would like to see
only the last 20 logons for the person.
I tried the TOP function, but that doesn't produce the desired results. The
table size will increase dramatically as more people sign on/off, so maybe
something that would just keep the top 20 logons for each individual.
Any help would be great.
stores their windows logon name, the computer terminal, their department,
and the date/time when they logged on and the date/time when they logged
off. Its for audit purposes.
Currently, there are over 190 people that can sign on and off and any
terminial and any time.
The audit report lists by their department each user's access information,
grouped by their windows logon name. Depending on the person, the report is
rather long and spans many pages. The audit review group would like to see
only the last 20 logons for the person.
I tried the TOP function, but that doesn't produce the desired results. The
table size will increase dramatically as more people sign on/off, so maybe
something that would just keep the top 20 logons for each individual.
Any help would be great.