Subject Re: [IBO] RefreshOnParamChange
Author TeamIBO
> I think I'm correct in saying that the default TIB_Query setting of
> RefreshOnParamChange = true, causes the RefreshAction setting to be
> ignored. Could this be changed? (V4.2.Fp)

It should not cause RefreshAction to be ignored - although given that
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(),
> 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?

It may help if you explain exactly what your problem is. How are you
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