🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #70199

Re: Dziwne rzeczy po "Record locked by another user"

#70199
From: Morff
Date: Thu, 21 Jun 2007 21:47
28 lines
1633 bytes
Dnia 21-06-2007 o 20:25:55 Ryszard <rkzamed@o2.pl> napisał:

> Stacja A edytuje sobie rekord nr 1.
> Stacja B startuje aplikacje i rowniez chce edytować ten sam rekord nr 1:
>
> Form1.OnShow
>    Tabela.Edit;
>    nastepna linia kodu
>    jeszcze jedna linia ...
> end;
>
> Po wykonaniu Tabela.Edit oczywiscie otrzymuje komunikat "Record locked
> by another user". Po zaakceptowaniu komunikatu jednak sterowanie nie
> powraca do nastepna linia kodu, lecz robi sobie Exit z obsługi zdarzenia
> OnShow (!), przez co pomija kilka istotnych procedur.
...
> Ktos ma jakis pomysl, bo ja juz tydzien nad tym siedze i nic...
>
> Ryszard

to try-except czy try-finally niedziała w D4 ?
moze poprostu wystarczy obsłuzyc wyjatek ..

-- 
Pozdrawiam
Morff
--------------------
AQQ 141151
Technical Details
Message-ID: <op.tuaj4txeq0kutt@xp_januszk.wag54gs>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <f5eftv$4dn$1@atlantis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Morff <morff1@wp.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: Re: Dziwne rzeczy po "Record locked by another user"
Date: Thu, 21 Jun 2007 23:47:07 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 28
Message-ID: <op.tuaj4txeq0kutt@xp_januszk.wag54gs>
References: <f5eftv$4dn$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: can168.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1182462745 23800 83.30.85.168 (21 Jun 2007 21:52:25 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Thu, 21 Jun 2007 21:52:25 +0000 (UTC)
User-Agent: Opera Mail/9.21 (Win32)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit