Creo que, a falta de otra solución, no te queda otro remedio que hacer un select anidado:
Código SQL
[-]
Select * from (
Select codigo,(sum(existent)) as ExistenTT,b.formula,b.present,
b.concentra
from barras.dbf a,productos.dbf b
where inventario="SI"
and a.codigo=b.codigo
Group By codigo,b.formula,b.present,b.concentra
order by ExistenTT,codigo asc)
where ExistenTT = 0
Esto, al menos en el SQL estandar, funciona
Un saludo