>Hi Nadya
>
>>Thanks, it's important. Yes, we have several forms with lots of objects, so perfomance suffers...
>
>Then you should definitely delete it. You are absolutely right, it is not needed in the Init and if your colleague continues to doubt, ask her just to comment it out and try the form (this is not hard to illustrate).
>
>In fact you could even demonstrate how much time it saves by wrapping the thing like this:
>
>
>lnStart = SECONDS()
>< set filter >
>LOCATE
>ThisForm.Refresh()
>lnEnd = SECONDS()
>ACTIVATE SCREEN
>? STR( lnEnd - lnStart, 8, 4 )
>
>
>Run it with and without the Refresh commented out and see what the impact is (that ought to convince her).
Thanks, I'll do that.
If it's not broken, fix it until it is.
My Blog