Table of Content
HAL Forum
procedure OutAccumulator (
Integer pos,Integer acumnr,Integer Typ,Boolean justf)
Description:
Outputs an accumulator value to a report. Used inside StartReportJob/EndJob block.
Parameters:
pos Position in report window in pixels
acumnr Acumulator Number
Typ Type of Acumulator (allowed values here are: M4Val,M40Val etc)
justf Alligmnment, left or right
procedure ExampleOutAccumulator()
begin
      StartFooter(45,true);
        Black_Divider(0,1);
        OutString(200,0,USetStr(2412),false)
        OutAccumulator(380,4,M4Val,true);
        OutAccumulator(5,5,M4Val,true);
        OutString(200,0,USetStr(2413),false)
        OutAccumulator(380,0,M4Val,true);
        OutAccumulator(5,1,M4Val,true);
        ClearAccumulator(0);
        ClearAccumulator(1);
        OutString(200,0,USetStr(2414),false)
        OutAccumulator(380,2,M4Val,true);
        OutAccumulator(5,3,M4Val,true);
      EndFooter;    
  return;
end;
Related topics:
««