Function

CallImportExportTemplateFields

Module

rTemplates

Last Modified

7/15/2014 3:26:44 PM

Scope

Global

Declaration

function CallImportExportTemplateFields(FldList: TStrings; RPCName: string): TStrings;

Called-By Hierarchy


               CallImportExportTemplateFields
                       ExportTemplateFields┤ 
TfrmTemplateEditor.mnuExportTemplateClick┘ │ 
                       ImportTemplateFields┘ 

Called-By

Name Declaration Comments
ExportTemplateFields function ExportTemplateFields(FldList: TStrings): TStrings; -
ImportTemplateFields function ImportTemplateFields(FldList: TStrings): TStrings; -


Source

349   function CallImportExportTemplateFields(FldList: TStrings; RPCName: string): TStrings;
350   var
351     i: integer;
352   
353   begin
354     with RPCBrokerV do
355     begin
356       ClearParameters := True;
357       RemoteProcedure := RPCName;
358       Param[0].PType := list;
359       for i := 0 to FldList.Count-1 do
360         Param[0].Mult[IntToStr(i+1)] := FldList[i];
361       CallBroker;
362     end;
363     Result := RPCBrokerV.Results;
364   end;