Código SQL [-] Adoquery1.SQL.Add( 'Select facturaNro, sum(importe) from ventas where FechaFact between aram0 and aram1 and TipCom like :nombre' group by facturaNro' );
Adoquery1.SQL.Add( 'Select facturaNro, sum(importe) from ventas where FechaFact between aram0 and aram1 and TipCom like :nombre' group by facturaNro' );