RPC HELP TParamRecord
TParamRecord Class
Description
The TParamRecord class is used to hold all of the information on a single RPC parameter. Depending on the type of the parameter needed, different properties are used. The PType property is always used to let the Broker on the VistA M Server know how to interpret the parameter. For a single value parameter, the Value property should be used. In the case of a list or a word-processing text, use the Mult property.
The TParamRecord relationship to the TRPCBroker component is as follows:
- The TRPCBroker component contains the Param property (i.e., TParams class).
- The TParams class contains the ParamArray property (array [I:integer]: TParamRecord class).
NOTE: Developers should rarely have a need to use TParamRecord by itself in their code. TParamRecord is the type of the elements in the ParamArray, default array property of the TRPCBroker component Param property. This means that when you are working with a Param[x] element, you are in reality working with an instance of TParamRecord.