>The best way to do it is pass a refrence of mainform object to the replace form as a parameter. Like:
>
>
>do form replace with thisform
>
>
>Then in the init method of replace form have:
>
>
>LParameter voMainForm
>
>** oMainForm is a custom Property of replace
>ThisForm.oMainForm = voMainForm
>
>
>Whenever you need to reference something on the mainform just use something like:
>
>Thisform.oMainForm.SomeTextBox.Value = "New Value"
Thanx for your help ^_^"
I'm a beginner of Visual Foxpro 5.0 ,thanx for help ^^