Try OpenEdge Now
skip to main content
.NET Open Clients
Using the Open Client .NET OpenAPI to Directly Access the AppServer : Handling returned values : Accessing RETURN-VALUE function output from procedures
 

Accessing RETURN-VALUE function output from procedures

You can access the value of the RETURN-VALUE function set by running an ABL procedure using the following property, which is available from any of three .NET OpenAPI objects:

Syntax

public string ProcReturnString
You can access this property from one of the following objects:
*Progress.Open4GL.Proxy.OpenAppObject — Returns the value set by the last procedure executed on the associated AppServer
*Progress.Open4GL.Proxy.OpenProcObject — Returns the value set by the last internal procedure executed in the associated persistent procedure
*Progress.Open4GLProxy.ParamArray — Returns the value set by the last non-persistent, persistent, or internal procedure executed and passed the specified ParamArray object
For more information on using these objects to execute procedures, see Running procedures and user-defined functions.