Doc,

Trying out your code.

Missing an ENDSELECT on the second to last line. Missing an ENDFUNCTION on the last line.

Commented out lines as they do not work -
62
97
98
99
100
101
102
103
104
105

Additionally, it would be kind of neat to be able to run this and have it e-mail you as the admin the results.

Another idea just popped in my mind. Maybe incorporate an account checking process. Is the employee a temp and if so, when does their account expire? Is the employee's account locked out? I know this is going a bit off tangent, but maybe helpful in diagnosing calls to the Support Desk.

Kent

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's