>dear cetin,
>
>many thanks for your kind advice. however, i still need some more help.
>
>when i insert the code line you suggested and execute the pgm, i get an error msg saying "NO PARAMETER STATEMENT FOUND" when the FIND FORM is executed.
>
>To overcome this i put a parameters statement in the INIT event of the FIND form as follows - PARAMETERS oForm
>
>and, in the AfterRowColChange event of the grid on the Find form i have inserted the line oForm.cCodeNo = ThisForm.txtCodeNo.Value where oForm.cCodeNo is the property that i want to reset which is in the calling form and ThisForm.txtCodeNo.Value is the textbox on the Find form.
>
>but, when the grid is displayed, i get the error message - "Object oForm is not found"
>
>how do i overcome this situation ?
>
>with sincere thanks once again.
* Find form.init
lparameters toForm
this.addproperty('oForm', toForm)
*if an old version of VFP manually add property oForm to find form and
* this.oForm = toForm
*Anywhere you need to access caller form
thisform.oForm.cCodeNo = ThisForm.txtCodeNo.Value
* You can do this too
* thisform.oForm.Refresh && Or any other method
Cetin