Subject RE: [IBO] IB_Query going into Search mode after post
Commit closes the datasets associated to that transaction, so they go into
search mode. You will want to fiddle with
TIB_Dataset's CommitAction whose enumeration is TIB_CommitAction:
caClose, caInvalidateCursor, caRefresh, caFetchAll.

If you don't want to call Commit, you'll want to let IBO handle transactions
behind the scenes.

C.

> -----Original Message-----
> From: Kevin Curtis [mailto:Kevin@...]
> Sent: Sábado 3 de Febrero de 2001 0:53
>
> Jason,
>
> I tracked the problem down to this:
>
> procedure TDataModule1.qrClientsAfterPost(IB_Dataset: TIB_Dataset);
> begin
> if IB_Dataset.IB_Transaction.Started then
> IB_Dataset.IB_Transaction.Commit;
> end;
>
> If I comment out the two lines in the above function then my dataset does
> NOT go into search mode.
>
> Any idea as to why this would make the dataset enter into search mode?
>
> Thanks!
> Kevin
>
>
>
>
>
>
>
>