>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.
Erik Moore
Clientelligence