Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameters Values
Message
From
24/06/2003 04:17:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/06/2003 15:13:44
Carlos Mergal
US Bankruptcy Court - Puerto Rico
San Juan, Puerto Rico
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00803038
Message ID:
00803185
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform