cara, tem muito begin nesse teu código, quando so tem uma linha abaixo do IF não precisa begin, tenta assim tb. Você terá o mesmo resultado
if dbEmpresa.text = '' then
SHOWMESSAGE ('CAMPO EMPRESA ESTÁ VAZIO');
if dbESCOLA.text = '' then
SHOWMESSAGE ('CAMPO ESCOLA ESTÁ VAZIO');