Subject Re: [IBO] Field value concurrency between TIBOQuery and InternalDataset
Author Jason Wharton
It would be best not to use InternalDataset in this manner. Try to factor
out your code some other way to simplify please.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "rogervellacott" <rvellacott@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, August 12, 2002 9:37 AM
Subject: [IBO] Field value concurrency between TIBOQuery and InternalDataset


> 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.
>
> Is there a method of TIBOQuery which will ensure that all the
> InternalDataset values agree with the IBOQuery values?
>
> At the moment I have just duplicated the whole procedure, and changed
> the parameter of the duplicate to a TIBOQuery, but it is quite long,
> and this is not ideal.