You could try DBengine.Idle method, that is the Access equivalent to the Windows DoEvents method -- but If you don't have a problem with Access exiting, then just comment those lines out, or change it to one or two DoEvents calls

Tom