Still don't know why you has the "EXIT" at the end of the IF statement. This should make any appreciable difference in execution time once you have properly constructed IF or Select...CASE...EndSelect constructs.
_________________________
Home page: http://www.kixhelp.com/hb/