Pass a TABLE or TABLE-HANDLE as an OUTPUT parameter
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
When the client application calls a method with a static temp-table
(TABLE parameter) OUTPUT parameter,
the client must provide a variable of the strongly typed DataTable
class provided by ProxyGen. In this case, the client does not need
to instantiate the object.
INPUT temp-table
parameter.When the client application calls a method with a dynamic temp-table (TABLE-HANDLE parameter) OUTPUT parameter,
the client must provide a variable of type System.Data.DataTable.
Again, the client does not need to instantiate the object. In this
case, the parameter can be returned as Unknown or
undefined. As a result, you must ensure the client code is written
to handle these cases.
On return from the method, the client can access rows of the
temp-table using the Rows property on the strongly
typed DataTable or System.Data.DataTable class.
Any data in the parameter at the time of the method call is replaced on return from the proxy object. All output data is immediately available to the client after the proxy call returns.