You may also look into the use of WRITELOG() or WRITELOG2() UDFs which attempt to address file locking.

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