Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters Values
Message
De
24/06/2003 04:17:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/06/2003 15:13:44
Carlos Mergal
US Bankruptcy Court - Puerto Rico
San Juan, Porto Rico
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00803038
Message ID:
00803185
Vues:
17
>Hello all:
>
>We are using an OCX that places the values in the parameters instead of the results. For example:
>
>parm1 = .f.
>parm2= 0
>res=thisform.object.method(parm1,parm2)
>
>RESULTS will be:
>res will be .T. or .F.
>parm1=.f.
>parm2=new value
>
>Apparently the method changes the value of parm2 and its supposed to return it on the same variable but its not working. I tried to pass the value with (@) by reference without any luck, I tried using a public variable it doesn't work. As I research this in VB it works. I know there should be a way on VFP, can someone point me there?
>
>
>TIA;
>
>Carlos

Pass by reference
res=thisform.object.method(@parm1,@parm2)
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform