Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/01/2007, 13:47
Avatar de magosc
magosc
 
Fecha de Ingreso: diciembre-2006
Mensajes: 72
Antigüedad: 18 años, 1 mes
Puntos: 0
Re: Ayuda Consulta SQL

Ya probaste de esta manera:

Código:
 comando = New OleDb.OleDbCommand("select sum(Total) from Llamadas_Local where Fecha Between 01/" & DateSelectedByIndex & "/2007 and 30/" & DateSelectedByIndex & "/2007", Conexion)
o talves con:

Código:
 comando = New OleDb.OleDbCommand("select sum(Total) from Llamadas_Local where Fecha Between 01/'" & DateSelectedByIndex & "'/2007 and 30/'" & DateSelectedByIndex & "'/2007", Conexion)
Espero te sirva.....