Subject | Re: InsertSQL question |
---|---|
Author | ehandbury |
Post date | 2002-03-07T04:37:25Z |
--- In IBObjects@y..., "Helen Borrie (TeamIBO)" <helebor@d...> wrote:
BINGO! I called a SP in the AfterInsert and it worked perfectly.
Thanks. Eric.
>the
> Drop a TIB_Cursor into your datamodule, keeping it within the same
> transaction as your main dataset. This is to ensure consistency of
> data during the user input phase of the task...you canpessimistically lock
> the row, too, if necessary, by using a sel. SP that includes adummy update
> following the block that fetches the dataset...if consistency isnot an
> issue but concurrency is, you can close the cursor as soon as youhave its
> data.TIB_*
>
> You can use this regardless of whether you are using the TIBO* or
> components for your main project. This cursor comp. can call (viaits SQL
> property) either a selectable stored procedure or a SELECTeddataset,
> according to your requirements. Make quite certain that you passHelen,
BINGO! I called a SP in the AfterInsert and it worked perfectly.
Thanks. Eric.