>
>Could you show the code in the calling form that calls the modal form and the code in the called modal form Init that receives the passed value(s) and stores it in the modal form?
Sure:
Calling form's click():
DO FORM forms\calendar_test.scx with 'test_form'
Modal form code-
Init:
LPARAMETER toFormThatCalledMe
ThisForm.Caller = toFormThatCalledMe
ExitButton.Click()
ThisForm.caller.lddate= ThisForm.Cntcalendar1.dcaldate
thisform.release()
The error comes in the "ThisForm.caller.lddate = bla bla" line. Error is that Unknown member Caller.
Hitting suspend, I can see that caller has value, and it is the calling form.