Was this helpful?
Call4GL Method
The Call4GL method calls a 4GL procedure.
This method has the following syntax:
Integer = RemoteServer.Call4GL(procname,
          [parameter = expression] | byref(variable)
          {,parameter = expression | byref(variable)}])
This method has the following parameter:
procname
Specifies the name of the procedure to be called (varchar(32))
If the Call4GL method is invoked on a connection using "http-jsonrpc" routing, the procedure is called internally using JsonRpcRequest(); the JsonRpcResult attribute will contain the information about the value returned from the called server procedure.
If the Call4GL method is successful, it returns ER_OK; a failure returns ER_FAIL.
Note:  In the case of a failure, you can obtain more information about the cause of the failure from the Errorcode and Errortext attributes.
Descriptions of system constant values and their numeric equivalents are listed in Error Codes and RemoteServer Settings.
Last modified date: 12/20/2023