Cita:
Empezado por giantonti1801
Si puedo entender eso pero a cual te refiere, talvez seria de ayuda si escribiera el codigo tal cual como deberia ir.
Muchas gracias por tu ayuda
|
Listo, ya con tu ayuda pude resolver el problema, muchissimas gracias....
Código Delphi
[-]
begin
Close;
ADOQueryUpdate.SQL.Clear;
ADOQueryUpdate.SQL.Add( 'UPDATE Tiket SET');
ADOQueryUpdate.SQL.Add( 'Estatus = ' +QuotedStr('OLD'));
ADOQueryUpdate.SQL.Add(' WHERE Item =:valor');
ADOQueryUpdate.Parameters.ParamByName('Valor').Value := StrToInt(Label3.Caption);
ADOQueryUpdate.ExecSQL;
end;
Para ayudar a otros foreros que tengan el mismo problema el codigo quedo Asi.