Jooel,

You are taking me back the days of Calculus! [Big Grin] [Big Grin]

I was thinking along those lines too.. That is, if you have a section of script that is in question, break it out to test file run it.. Then debug and when complete, put it back in.

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