Thanks Erik
Actually the code is in a VWB codeblock. I still can't figure out how to access the objects from the 'demo'-server.
>>Hi All
>>
>>The following code is pasted from the the quick-tour in the documentation for Webbuilder:
>>
>>PUBLIC lValid
>>LOCAL lcCustID
>>
>>lcCustID = poCGI.GetCommandLine() && <-- Syntax wrong!!!
>>
>>SELECT Customer
>>LOCATE FOR Alltrim(Customer.CustID) == Alltrim(lcCustID)
>>lValid = Found()
>>
>>Could anybody please guide me on how to access the "CGI"-object
>
>If this code is in a method of the wwProcess class, THIS.oCGI holds a reference to the CGI object. Your Process method should create a private variable to hold the value.
>
>poCGI = THIS.oCGI
>
>and then it will be available to the method called from wwProcewss::Process.
Birger G. Thoresen
Pek og Klikk