Código SQL [-]select prcodan, nombreproveedor, Sum (Importe) From Tabla where (tus condiciones) Group by prcodan, nombreproveedor
select prcodan, nombreproveedor, Sum (Importe) From Tabla where (tus condiciones) Group by prcodan, nombreproveedor