Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Bases de datos > Firebird e Interbase
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

 
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 14-01-2009
manueltp manueltp is offline
Miembro
 
Registrado: mar 2008
Posts: 29
Poder: 0
manueltp Va por buen camino
Angry error xsqlda index out of range en ventana login ayuda !!!!!!

hola que tal amigos aki de nuevo ....
con una duda mas .....
me sale el error de "xsqlda index out of range".....

les paso el codigo para que me chequen de favor haber que hago mal::

Código Delphi [-]
procedure TFLogin.BtnAceptarClick(Sender: TObject);
begin
   LoginOK := False;
   QryEntrar.Params.ParamByName('nom').AsString:= EUsuario.Text;
   QryEntrar.Active:= True;
   EUsuario.Text:= QryEntrar.Fields[0].AsString;
   If QryEntrar.RecordCount < 1 then
      Begin
         Cuenta := Cuenta + 1;
         MessageDlg('Usuario no encontrado',mtError, [mbOK], 0);
         EUsuario.Text := '';
         EClave.Text := '';
         QryEntrar.Active := False;
         If Cuenta = 3 then Close;
      end
   else
        If QryEntrarCLAVEU.AsString = EClave.Text then
           Begin
              LoginOk := True;
              Usuario := QryEntrarNOMBREU.AsString;
              QryEntrar.Active := False;
              Close;
           end
        else
            Begin
               Cuenta := Cuenta + 1;
               MessageDlg('Clave Inválida',mtError, [mbOK], 0);
               EClave.Text := '';
               QryEntrar.Active := False;
               If Cuenta = 3 then Close;
            end
end;

tengo un TIBQuery con un parametro..

se los agradeceria demasiado ... me interesa demasiado para el sistema que estoy realizando...
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Problema con cliente servidor, error "xsqlda index out of range" Buelos Varios 0 18-07-2008 05:49:57
Ayuda [ERROR]XSQLDA index out of range ??? ManuelPerez Varios 1 14-03-2008 17:31:22
Grid index out of range jmlifi Varios 29 19-10-2007 17:50:01
XSQLDA Index out of range RESP 3.0 Firebird e Interbase 5 15-12-2006 15:14:34
Ayuda Con Ventana Para Login!!! jugomez MS SQL Server 5 23-10-2006 17:22:29


La franja horaria es GMT +2. Ahora son las 02:22:14.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi