>Cetin
>
>They definately refresh, I have put a trace on it.
>
>Kev
Kev,
As Vlad was explaining, there is a difference in the Refresh method being called and the control actually getting refreshed.
By default, the only thing Refresh does is read the value of the ControlSource into the Value property of the control. Issuing NODEFAULT prevents this from happening and this is also not done if the control is not Visible.
However, the Refresh method is called no matter what. So if you have extra code there (which many developers do), you need to use another flag to determine if the code should run.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao