no consigo esto, me ayudais por favor?¿?
omados.CommandText = "SELECT reg,Barra,NombTerminal,Anulado,Fecha, ROUND(Sum(Cantidad*Pts),2) AS TOTAL From IntroduccionDeVentasAhora WHERE Barra = @combo1 and NombTerminal = @combo2 and Anulado=0 and Fecha BETWEEN @FI AND @FF group by reg,Barra,NombTerminal,Anulado,Fecha,TOTAL Order by TOTAL"