Did you try to put an -

@error+' - '+@serror

?

To see what the error state is.

Also, what is the other code leading to this?

Kent

[ 20. August 2003, 14:08: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's