Hi everybody,
OE11.6, Win8
I have a class "DialogExpressionCondition", which has a Method "Create(String,String)" - here the link to the documentaion of this class: help.docuware.com/.../T_DocuWare_Platform_ServerClient_DialogExpressionCondition.htm).
the following code gives error 14634 ("static member <name> mujst be accessed via a class name, not via an object reference") when I try to run it:
Condition = NEW Docuware.Platform.ServerClient.DialogExpressionCondition().
Condition:Create("Field", "Value").
What am I doing wrong ?
,
As per the documentation for the class Create() is a static method which returns a DialogExpressionCondition instance.
And as the error message states, a static member must be accessed via a class name.
Correct code should be:
Condition = Docuware.Platform.ServerClient.DialogExpressionCondition:Create("Field", "Value").
As per the documentation for the class Create() is a static method which returns a DialogExpressionCondition instance.
And as the error message states, a static member must be accessed via a class name.
Correct code should be:
Condition = Docuware.Platform.ServerClient.DialogExpressionCondition:Create("Field", "Value").