RPC HELP XWB XWB GET VARIABLE VALUE RPC Example

From VistApedia
Jump to navigationJump to search

RPC Broker Help Home

XWB GET VARIABLE VALUE Example

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]);