Ver Mensaje Individual
  #1  
Antiguo 11-11-2012
giulichajari giulichajari is offline
Miembro
 
Registrado: nov 2012
Posts: 306
Reputación: 14
giulichajari Va por buen camino
Usar Locate y borrar

Bueno estuve leyendo sobre Borland C++ y SQL. El caso es que quiero realizar un Locate e ir actualizando un DBGrid, pero no encuentro como filtrar los registros mostrados a medida que se tipea.

En el edit tengo:
Código SQL [-]
void __fastcall TAlu_borrado::Edit1Change(TObject *Sender)
{
if ( Table1->Locate("DNI", Edit1, TLocateOptions()<< loPartialKey))
{
ShowMessage("El alumno no existe");
}
}
Responder Con Cita