Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing values from the form back to the calling program
Message
From
02/05/2002 10:20:02
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00651676
Message ID:
00651847
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform