>>>>>>>Do you want to say that you have the same buttons (to open new form) on both pages?
>>>>>>No, I use two different buttons. Also, When I close the form, the code is...
>>>>>>myform.hide
>>>>>
>>>>>How do you close your form? Is it modal or modeless form?
>>>>I close use this code..
>>>>thisformset.myform.hide and the form is modal.
>>>
>>>From where you fire this code?
>>From a command button's click event on the form that is being closed.
>
>Is it consistent problem? What's happened if you close the form manually clicking on form's right-upper corner? BTW, when you open form you use Form.Show or something else?
Yes, it is a consistent problem. If I close the form manually, I get an syntax
error. UNKNOWN MEMBER myform - I use SHOW to open the form.