Ver Mensaje Individual
  #1  
Antiguo 24-01-2012
Avatar de look
look look is offline
Miembro
 
Registrado: sep 2007
Ubicación: The Shire
Posts: 656
Reputación: 19
look Va camino a la fama
no value given for one or more required parameters

hola amigos tengo la siguiente consulta:
Código Delphi [-]
    with qryConsulta  do
    begin
      Active := False;
      SQL.Clear;
      SQL.Add('SELECT NUM_USUAR,NOMBRE,CLAVE,USUARIO FROM USUARIOS');
      SQL.Add('WHERE CLAVE = :CLAVE AND USUARIO = :USUARIO');
      Parameters.ParamByName('CLAVE').Value := edtClave.Text;
      Parameters.ParamByName('USUARIO').Value := EdtUsuario.Text;
      Active := True;
     end;

pero me lanza el siguiente error:

Código:
 no value given for one or more required parameters

que puedo hacer?
__________________
all your base are belong to us
Responder Con Cita