Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown XWEBVARS - Undefined
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Unknown XWEBVARS - Undefined
Miscellaneous
Thread ID:
00870176
Message ID:
00870176
Views:
49
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
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Next
Reply
Map
View

Click here to load this message in the networking platform