>>FOR lnI = 1 TO 2 >> TRY >> &tcSql >> CATCH TO loEx >> _CLIPTEXT = m.tcSql >> IF lnI = 1 AND loEx.ERROR = 108 && File is in use by another user >> >> DECLARE INTEGER Sleep IN Win32API INTEGER cMilliseconds >> =Sleep(0.5*1000) && wait half a second >>** we're going to re-try >> ELSE >> * the normal catch code >> lnI = 10 && to fall out the loop >> ENDIF >> ENDTRY >>NEXT>