The following program code demonstrates how the Mult property can be used to pass several data elements to the server in one parameter:
procedure TForm1.Button1Click(Sender: TObject);
begin
with RPCBroker1 do begin
Param[0].PType :=list;
Param[0].Mult['"NAME"'] := 'DOE,JOHN';
Param[0].Mult['"SSN"'] := '123456789';
RemoteProcedure := 'SETUP PATIENT INFO';
Call;
end;
end;
Assuming variable P1 is used on the server to receive this array, it would look like the following:
P1("NAME")=DOE,JOHN
P1("SSN")=123456789