Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass Value back from Instantiated CreateObject
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01262171
Message ID:
01262182
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
Check Re: Returning value from a form Message #1246501

>
>In my code, I have one form creating another form with the code below....
>
>*****************************************************************
>
>CASE tnModule = 2
>	Thisform.p_module = CREATEOBJECT("frmDoctorDefault",RECNO("nh_facility"),1)
>
>*****************************************************************
>
>Thisform.p_module is the property of the First Form ("Facility") that is the object reference to the second form ("frmDoctorDefault").
>
>I want to be able to pass back to the first form ("Facility") the doctor_id found in the second form.
>
>The frmDoctorDefault form has a grid in it, that has as its datasource the Doctor table. The user can browse the table and select the doctor manually. So, at this point, the user is looking and has selected the doctor.
>
>Other than a global variable (yuk!), or a global property, how can I pass this info back to the calling form?
>
>Thanks!!!
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform