Subject Re: [IBO] Field value concurrency between TIBOQuery and InternalDataset
Author rogervellacott
Thanks for this clear answer. No problem. I'll just use two
separate procedures, depending on whether IBO or IB_

--- In IBObjects@y..., Geoff Worboys <geoff@t...> wrote:
> > I have a procedure which takes a TIB_Dataset as a parameter, and
> > does a lot of work using the field values.
>
> > I want to use the same procedure for a TIBOQuery, using values
which
> > have been edited by the user, and before the query is posted.
> > However, if I pass the IBOQuery.InternalDataset, I find that the
> > Internal values have not yet been updated with the edited values.
>
> The synchronisation between TIBO and its internal dataset is
> complicated stuff - I really dont think that what you want to
achieve
> is going to be practical.
>
> I recommend writing an overloaded version of the procedure to accept
> and process a TDataset directly.
>
> --
> Geoff Worboys
> Telesis Computing