Ver Mensaje Individual
  #3  
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 Caral Ver Mensaje
Hola
Que es Status?
Saludos
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;
Responder Con Cita