Visual WebBuilder 2.0 is about to ship. We are going through the final test os the setup as we speak...
The new help file is already available online and it explains all the issues you encountered (parts of the pre-release documentation were wrong...).
The new help is available at the following URL:
Http://www.eps-software.com/knowledgebase/vwb/docu/Regards,
Markus
>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.