Difference between revisions of "RPC HELP TParamRecord Value Property Example"
From VistApedia
(Created page with "<h2>Value Example</h2> The following program code demonstrates a couple of different uses of the Value property. Remember that each Param[x] element is really a [[RPC_HELP_TP...") |
(No difference)
|
Latest revision as of 00:44, 4 July 2015
Value Example
The following program code demonstrates a couple of different uses of the Value property. Remember that each Param[x] element is really a TParamRecord-type class.
procedure TForm1.Button1Click(Sender: TObject); begin with brkrRPCBroker1 do begin RemoteProcedure := 'SET NICK NAME'; {A variable reference} Param[0].Value := 'DUZ'; Param[0].Ptype := reference; {A string} Param[1].Value := edtNickName.Text; Param[1].Ptype := literal; Call; end; end;