Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a value from a Modal Form
Message
 
 
To
28/11/2003 22:34:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00854373
Message ID:
00854376
Views:
22
João,

A modal form and it's reference is released as soon as it is closed. You can use TO option of DO FORM command to return a single value.
DO FORM gc_procura_doc_fac WITH thisform.oDocFac, &lcAliasArm..c_codigo_2, oEmpresa TO m.pk
thisform.ltable_pk = m.pk
...
* Modal form Unload
RETURN This.lChave
>Hi all,
>
>I call my Modal form, from a command button, this way
>
>DO FORM gc_procura_doc_fac NAME oFM LINKED WITH thisform.oDocFac, &lcAliasArm..c_codigo_2, oEmpresa

>then i try to get the return value

>thisform.ltable_pk=oFM.lChave

>
>and i get this error
oFM is not an object
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform