Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown XWEBVARS - Undefined
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00870176
Message ID:
00870178
Views:
16
This message has been marked as the solution to the initial question of the thread.
Does EXTERNAL ARRAY xWebVars help?

>I've adopted an app I'm moving to VFP 8 and I'm getting the error above when I attempt to compile.
>
>It's calling a VCX method after creating an ARRAY:
>set classlib to "qpdown.vcx" additive
>qpvar=createobject("qpdown")
>DIMENSION WEBVARS[1,2]
>* (Populating Array Here)
>QpVar.SessionVars(@webvars)
>
>Then in QpVar.SessionVars:
>Parameter xwebVars
>For a = 1 to alen(xWebVars,1)
> This.AddProperty(Alltrim(xWebVars[a,1]) , Alltrim(xWebVars[a,2]))
>Endfor
>
>Can someone tell me how to avoid this error? Do I have to declare the xWebVars parameter as a data type in the SessionVars function? If so, I don't see a datatype of ARRAY in the Intellisense list...
>
>TIA
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform