Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning values from modal form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00333036
Message ID:
00333046
Views:
15
>I seem to be missing something here.
>
>I have a param that is the calling fom passed to the modal one. I am trying to populate a property in that calling form
>
>Here is the code in the modal form. Caller is propery populated in the init as the reference to who activated this form.
>
>ThisForm.caller.lddate= ThisForm.Cntcalendar1.dcaldate
>
>When this dies in testing caller.value = 'test_form'
>
>Test_form has a property lddate.
>
>TIA
>
>__Stephen

Put a .Value property on the end of your statement:

ThisForm.caller.lddate= ThisForm.Cntcalendar1.dcaldate.Value

You might also need it to be .Object.Value if it's from an ActiveX calendar control.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform