You will need to alter the query for more than one user though.

Maybe the ADO object should be outside this udf? This would require helper UDFs though.

[ 28. July 2003, 22:00: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/