Ver Mensaje Individual
  #6  
Antiguo 20-10-2010
ekstase ekstase is offline
Miembro
 
Registrado: sep 2007
Posts: 23
Reputación: 0
ekstase Va por buen camino
Gracias [Al González] lo resolvi con tu sugerencia, asi fue el código final:

Código Delphi [-]
 
      QueryTablaAutos.Active    :=  False;
      QueryTablaAutos.SQL.Clear;
      QueryTablaAutos.SQL.Text  :=  'Select IdSocio From TablaAutos Where Patente = :Patente';
      QueryTablaAutos.ParamByName('Patente').Value  :=  Edt_Num.Text;
      QueryTablaAutos.Active    :=  True;
  
      If (QueryTablaAutos.Fields[0].Value <> Null) Then
          Begin
              ShowMessage('El vehiculo pertenecea a un socio.');
          end;

Connor gracias por tu atención también, me sacaron un peso de encima.
Gracias Chicos, hasta la próxima.
Gustavo.-
Responder Con Cita