You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qr:=TQueryResult.Create(Session.DbCon,'select Jrt.jrl_id from Jre inner join Jrt on Jrt.id=Jre.jrt_id where Jre.id=? and Jre.uid=?',[id,Session.UserID]);
try
jid:=qr.GetInt('jrl_id');
finally
qr.Free;
end;
//TODO: (offer to) fix minutes/start of adjacent Jre's?
Session.DbCon.BeginTrans;
try
Session.DbCon.Execute('delete from Jre where id=? and uid=?',[id,Session.UserID]);