Difference between revisions of "RPC HELP XWB XWB GET VARIABLE VALUE RPC Example"

From VistApedia
Jump to: navigation, search
(Created page with " RPC Broker Help Home Mh2>XWB GET VARIABLE VALUE Example</h2> The following is example of the XWB GET VARIABLE VALUE RPC: brkrRPCBroker1.RemoteProced...")
(No difference)

Revision as of 16:49, 6 July 2015

RPC Broker Help Home Mh2>XWB GET VARIABLE VALUE Example</h2>

The following is example of the XWB GET VARIABLE VALUE RPC:

   brkrRPCBroker1.RemoteProcedure := 'XWB GET VARIABLE VALUE';
   brkrRPCBroker1.Param[0].Value :='DUZ';
   brkrRPCBroker1.Param[0].PType := reference;
   try
     brkrRPCBroker1.Call;
   except
     On EBrokerError do
       ShowMessage('Connection to server could not be established!');
   end;
   ShowMessage('DUZ is '+brkrRPCBroker1.Results[0]);