RPC HELP TParamRecord Mult Property: Difference between revisions

From VistApedia
Jump to navigationJump to search
Created page with "<h2>Mult Property</h2> Example Applies to TParamRecord class Declaration property Mult: TMult; Description (Mult is a property of the TParamRecord used in the Param p..."
 
No edit summary
Line 1: Line 1:
<h2>Mult Property</h2>
<h2>Mult Property</h2>
Example
[[RPC_HELP_TParamRecord_Mult_Property_Example|Example]]


Applies to
Applies to
TParamRecord class
[[RPC_HELP_TParamRecord|TParamRecord]] class


Declaration
<h3>Declaration<.h3>
property Mult: TMult;
property Mult: TMult;


Description
<h3>Description</h3>
(Mult is a property of the TParamRecord used in the Param property.)
    <code>(Mult is a property of the TParamRecord used in the Param property.)<code>
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.
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.

Revision as of 00:17, 4 July 2015

Mult Property

Example

Applies to TParamRecord class


Declaration<.h3> property Mult: TMult;

Description

   (Mult is a property of the TParamRecord used in the Param property.)

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.