Ver Mensaje Individual
  #8  
Antiguo 24-01-2012
Avatar de Caral
[Caral] Caral is offline
Miembro Premium
 
Registrado: ago 2006
Posts: 7.659
Reputación: 25
Caral Va por buen camino
Hola
Aparte de todo, no me gusta ni el add y el parambyname
Código Delphi [-]
with qryConsulta  do
    begin
      Active := False;
      SQL.text:= ' SELECT NUM_USUAR, NOMBRE, CLAVE, USUARIO FROM USUARIOS '+
                 ' WHERE CLAVE = :C AND USUARIO = :U ';
      Parameters[0].Value := edtClave.Text;
      Parameters[1].Value := EdtUsuario.Text;
      Active := True;
     end;
Saludos
__________________
Siempre Novato
Responder Con Cita