Subject | Re: [IBO] RefreshOnParamChange |
---|---|
Author | TeamIBO |
Post date | 2002-02-06T08:06:07Z |
> I think I'm correct in saying that the default TIB_Query setting ofIt should not cause RefreshAction to be ignored - although given that
> RefreshOnParamChange = true, causes the RefreshAction setting to be
> ignored. Could this be changed? (V4.2.Fp)
the result set is presumably completely changed, any other action
than Open is probably unreliable.
> Given that there is a certain amount of extra code (BeginUpdate(),It may help if you explain exactly what your problem is. How are you
> EndUpdate())to be written when using RefreshOnParamChange and you
> only want one refresh to occur (when changing multiple params, this
> would be the norm, I'd imagine), it seems simpler to have
> RefreshOnParamChange default to false, use a TIB_Query->Refresh()
> call when needed, and keep the benefit of the RefreshAction setting.
> Or have I missed something again?
changing parameters?
RefreshOnParamChange does nothing with BeginUpdate/EndUpdate itself,
when it is turned on every parameter change event will result in a
refresh. If you want to change multiple parameters at a time you
should provide the BeginUpdate/EndUpdate yourself.
--
Geoff Worboys - TeamIBO
Telesis Computing