Can you post the contents of your script? Or the piece that is giving you trouble?

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