>In my form's INIT method I have the following code:
>
>PARAMETERS dStartDt, dEndDt, cTitle
>ThisForm.dStartDate = dStartDt
>ThisForm.dEndDate = dEndDt
>
>You can't use PARAMETER ThisForm.dStartDate....
>
>So, how can I keep the parameters "alive" once the INIT method completes?
>
>Sorry if I'm being thick headed :-)
use properties in your subform. in your init, say
thisform.subStartDate = dstartdt
thisform.subEndDate = denddt
they will then be available throughout this form.
if you save the form as a class and use createobject(), you won't need to pass by reference. you can get the values after you exit the form by looking at these properties before releasing the form object...