Good morning Sergey,
I put
Return thisfrom.txtnHandle.value
in to the unload event of the frmLogin and got the message
Error 1923
Object thisform not found
Return thisform.txtnhandle.value
sys(2018) thisform.
What did I do wrong.
Thanks
Jim
>Set WindowType property of the form to 1 - Modal.
>
>>Hi Sergey,
>>
>>Thanks. I know how to make a form modal in other databases but not VFP. How do make the form modal in Visual FoxPro.
>>
>>Thanks again
>>Jim
>>
>>
>>>>Hello Group,
>>>>
>>>>I have created a log on or log in form that takes parameters from the calling program and makes the connection with the remote SQLServer. How do I get the value of the connection handle from the form back into a variable in the program. I am saving the value of the connection handle in thisfrom.txtConnectionHandle.value.
>>>>
>>>>Thanks
>>>>Jim
>>>
>>>Assuming that form is modal and SCX based.
DO FORM myform WITH .... TO lnHadle
>>>* In the Unload of the form
>>>Return thisfrom.txtConnectionHandle.value