Ver Mensaje Individual
  #2  
Antiguo 25-09-2010
Avatar de Caral
[Caral] Caral is offline
Miembro Premium
 
Registrado: ago 2006
Posts: 7.659
Reputación: 27
Caral Va por buen camino
Hola
Código Delphi [-]
     with Query1 do
      begin
        Close;
        SQL.Text:= 'SELECT * FROM alucurso '+
                   ' WHERE alumno = '+QuotedStr(dbedit6.Text)+
                   ' AND curso = '+inttostr(x)+
                   ' AND plan = '+inttostr(p)+
                   ' AND fecha = '+quotedstr (dbedit5.Text);
        Open;
        if not IsEmpty then
          begin
            MessageDlg('Datos EXISTENTE',mtError,[mbOk],0);
           // NomE.SetFocus;
          end;
      end;
Saludos
__________________
Siempre Novato
Responder Con Cita