Ver Mensaje Individual
  #1  
Antiguo 02-08-2011
abelg abelg is offline
Miembro
 
Registrado: jul 2004
Posts: 50
Reputación: 22
abelg Va por buen camino
mira creo lo mejor es:
Código Delphi [-]
q1.sql.clear;
q1.sql.add('SELECT * FROM citas WHERE fecha =fec')
q1.parambyName('pfec').AsDateTime := fechaprueba;
//query1.Params.ParamByName('pfec').SsDateTime := fechaprueba; // o asi 
q1.open;

salu2
Responder Con Cita