PROCEDURE Destroy >IF ThisForm.lProcessing > RETURN .F. >ENDIF > >This.oNet = .NULL. >CLOSE DATABASES > >ENDPROC >Thanks for the suggestion, but I don't think it'll make a difference. If ThisForm.lProcessing = .T., then the code in QueryUnload that caused the error wouldn't execute.