Subject Re: [IBO] Locking rows
Author skander_sp
Tks, but I need not only or one opeartion

It's posible to lock every one row edited without doing explicity?

Some way to lock implicity every row edited?



--- In IBObjects@yahoogroups.com, "Riho-Rene Ellermaa"
<r.ellermaa@h...> wrote:
> //----------------------------------------------------------------------
> -----
> //QMaster query Before Open event.
> void __fastcall TConvDM::QMasterBeforeOpen(TIB_Dataset *IB_Dataset)
> {
> TDataModule2::QMasterBeforeOpen(IB_Dataset);
> //SQL to lock updatabale record
> IB_Dataset->LockSQL->Clear();
> IB_Dataset->LockSQL->Add("update CONVERSION set CURRENCY=CURRENCY where
> ID=:OLD_ID ");//notr
> }
>
>
>
> Riho Ellermaa
>
>
>
>
> _____
>
> From: skander_sp [mailto:skander@e...]
> Sent: Thursday, February 19, 2004 7:15 PM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Locking rows
>
>
> May be a begginer question, but...
>
> what it's the most prefered way to "autolock" a record in IBO to
> not
> let another user edit while is editing?
>
> what component? what property?
>
> Tks
>
>