Difference between revisions of "RPC HELP TParamRecord Mult Property"
From VistApedia
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[RPC_HELP_TParamRecord_Mult_Property_Example|Example]] | [[RPC_HELP_TParamRecord_Mult_Property_Example|Example]] | ||
− | Applies to | + | <h3>Applies to</h3> |
− | [[RPC_HELP_TParamRecord|TParamRecord]] class | + | [[RPC_HELP_TParamRecord|TParamRecord]] class |
− | |||
<h3>Declaration</h3> | <h3>Declaration</h3> | ||
− | + | property Mult: TMult; | |
− | + | (Mult is a property of the TParamRecord used in the Param property.) | |
<h3>Description</h3> | <h3>Description</h3> | ||
− | |||
− | |||
The Mult design-time property of a [[RPC_HELP_TParamRecord|TParamRecord]] class, which is the type of each [[RPC_HELP_TRPCBroker|TRPCBroker]] component’s Param[x] element, can be used to pass a string-subscripted array of strings to the VistA M Server. For example, if you need to pass a patient's name and SSN to a remote procedure, you could pass them as two separate parameters as [[RPC_HELP_TParamRecord_PType_Property|PType]] literals, or you could pass them in one parameter using the Mult property as a PType list. If one is being sent, a Mult must be the last element in the Param array. | The Mult design-time property of a [[RPC_HELP_TParamRecord|TParamRecord]] class, which is the type of each [[RPC_HELP_TRPCBroker|TRPCBroker]] component’s Param[x] element, can be used to pass a string-subscripted array of strings to the VistA M Server. For example, if you need to pass a patient's name and SSN to a remote procedure, you could pass them as two separate parameters as [[RPC_HELP_TParamRecord_PType_Property|PType]] literals, or you could pass them in one parameter using the Mult property as a PType list. If one is being sent, a Mult must be the last element in the Param array. |
Latest revision as of 18:23, 8 July 2015
Mult Property
Applies to
TParamRecord class
Declaration
property Mult: TMult; (Mult is a property of the TParamRecord used in the Param property.)
Description
The Mult design-time property of a TParamRecord class, which is the type of each TRPCBroker component’s Param[x] element, can be used to pass a string-subscripted array of strings to the VistA M Server. For example, if you need to pass a patient's name and SSN to a remote procedure, you could pass them as two separate parameters as PType literals, or you could pass them in one parameter using the Mult property as a PType list. If one is being sent, a Mult must be the last element in the Param array.