MB Software Solutions, LLC wrote on 2013-02-21:
> On 2/20/2013 5:47 PM, Tracy Pearson wrote:
>> Mike,
>>
>> LINKED allows you have a local variable of the form. When you are
finished,
>> you release the local variable and it will release the form. A progress
bar
>> is the only reason I come up with for using the LINKED keyword connected
to
>> a modeless form.
>>
>>
> But I already use a local variable for the form instance:
>
> LOCAL loFrm as Form
>
> DO FORM frmTest NAME loFrm NOSHOW
> <set some form properties>
> loFrm.Show()
> if loFrm.lRunReport then
> ...
> endif
>
> loFrm.release
>
>
Mike,
And that works.
Your form is Modal.
In the Command Window run a report with
DO FORM {form file name} NAME mytest LINKED
It should open. Now go back to the Command Window and type:
RELEASE mytest
The form should close.
Tracy Pearson
PowerChurch Software
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.