$C is initialized to "" in the middle. I moved it closer to where it was being used. This code can be executed multiple times in a script returning the proper values each time.

[ 11 June 2002, 05:54: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/