Ver Mensaje Individual
  #4  
Antiguo 25-03-2010
Luis Bastidas Luis Bastidas is offline
Registrado
 
Registrado: jul 2007
Posts: 3
Reputación: 0
Luis Bastidas Va por buen camino
Cita:
Empezado por Luis Bastidas Ver Mensaje
Sorry ... este es el procedimiento completo ...


procedure TTLoginFrm.Connect(User : String; Status : String);
begin
// Update de conexion para el usuario
Try
With Modulo.Query1 Do
begin
SQL.Clear;
SQL.add('Update Permisos ' +
'Set Connectado = ' + Status + ' ' +
'where UserID = :User ');
Parameters.ParamByName('User').Value := UserName.Text;
ExecSQL;
Close;
end;
except
On EOleException do
end
end;
Ademas al parecer ya quedo ... Gracias ... es que estaba poniendo un Open en lugar de poner un ExecSQL .... Mil gracias por responder.
Responder Con Cita