Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do form cName with cVar
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00620881
Message ID:
00620894
Views:
14
Thanks again Nadya

I marked this thread


>Hi Stephen,
>
>If you want your form to return some value, the form should be modal. In the Unload method of the form you would put return MyRetVal
>
>and you would call your form this way:
>
>do form MyForm with myVar to myRetVar.
>
>There is a trick to return value from a non-modal form, but may be modal will work for you?
>
>Is it your question?
>
>HTH
>
>>Hello everybody
>>
>>I need a real world exapmle of "do form cName with cVar" and how to return the var
>>
>>I want the same form to run with 5 diffrent vars
>>gcOld_dir = local dir
>>gcSer_dir = server dir
>>gcReq_dir = req dir
>>gcLpics = local pic dir
>>gcRpics = remote pic dir
>>
>>all the vars are 80 charecters
>>
>>I want to say
>>

>>if empty(gcOld_dir)
>> do form c_path with gcOld_dir
>> if empty(gcOld_dir)
>> quit
>> else
>> replace tbl.old with gcOld_dir
>> endif
>>else
>> replace tbl.old with gcOld_dir
>>endif
>>

>>
>>did I explane it ok???
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform