Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do form ...
Message
De
07/06/2002 07:36:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/06/2002 07:29:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00665852
Message ID:
00665858
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>Hi
>
>How can i do :
>
>DO FORM Form2 WITH par1 , par2 TO cVar1 , cVar2
>
>I want have two return values , cVar1 , cVar2 .
>
>Thanks

Pedro,
A modal form could return only one value but that could be an object too.
There are muoltiple ways :
1)
DO FORM Form2 WITH par1 , par2 TO cVarAll
cVar1 = substr(cVarAll, 1, at('_',cVarALl)-1)
cVar2 = substr(cVarAll, at('_',cVarALl)+1)

2)
store "" to cVar1,cVar2
DO FORM Form2 WITH par1 , par2

3) oCargo=CreateObject('Session') && or Relation
oCargo.Addproperty("cVar1","")
oCargo.Addproperty("cVar2","")
DO FORM Form2 WITH par1 , par2, oCargo

4)
create cursor dummy (cVar1 c(1), cVar2 c(1))
scatter name oCargo
use in 'dummy'
DO FORM Form2 WITH par1 , par2, oCargo

etc
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform