try try //............ Except On EOleException do ShowMessage('невозможно создать таблицу'); end; finally Free