Subject Re: [IBO] Disablecontrols
Author Lester Caine
> I tried using BeginBusy, DisableControls etc, but the grid still displays
> the new record inserted, exactly what I want to avoid. The grid is readonly.
> When the user wants to add a person, a second window pops up, with the qry
> attached to the grid in insert mode. The grid displays the same effect in
> the background, what I don't want. The only way I can think of circumventing
> this, is to insert using another qry or trans.

If you want to control when the grid is updated, then the
cleanest approach is to 'Insert' via an IB_DSQL procedure
direct into the database, and call refresh on the Grid when
YOU are ready.

If you want to use data aware controls, then just use an
IB_Cursor set up to give the fields you want, insert into
that and again you can call refresh (if needed) on the grid
at the right time.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services