Ver Mensaje Individual
  #7  
Antiguo 22-02-2012
krewer krewer is offline
Miembro
NULL
 
Registrado: feb 2012
Posts: 39
Reputación: 0
krewer Va por buen camino
Lo mejore de esta manera

Código Delphi [-]
sql:='select NICK,HORA,MENSAJE,ESTADO from BITACORA where nick='+quotedstr(nombre)+' and FECHA='+quotedstr(FormatDateTime('YYYY/MM/DD', fecha.Date))+' order by hora desc';
fdata.consulta7.Close;
fdata.consulta7.SQL.Clear;
fdata.consulta7.SQL.Add(sql);
fdata.consulta7.Open;

Así no paso ningún dato por parámetro
Responder Con Cita