>Ko, thanks for your reply and ,until VFP7 comes, I guess I'll have alook at what
>Fred is suggesting.
>
>Onr other matter that I've had problems with. I was experimenting with above and running object code in a .FXp file. However, if I had ThisForm.Refresh (or any other code that referred to a form)in the code, it would not allow it. Do you know if there is a way round this ?
>
>Regards,
>
>Gerard
Yes,
You cannot reference thisform or this when you are not in the form or the object itself.
What i normally do is submit the form reference to the function.
Like:
Do MyFxp with thisform
MyFxp.prg:
LParameter oThisForm
Now you can reference the form with oThisForm