column report break every n lines
Hello,
I need to print a pricelist of items. Report would be 3 columns and I need items to print columns top to bottom , then left to right i.e. with a blank line every <n> rows. in this example its every 2, but in most cases It will be 5 to 10
1 6 11
2 7 12
< blank line>
3 8 13
4 9 14
<blank linke>
5 10 15
I need to print a pricelist of items. Report would be 3 columns and I need items to print columns top to bottom , then left to right i.e. with a blank line every <n> rows. in this example its every 2, but in most cases It will be 5 to 10
1 6 11
2 7 12
< blank line>
3 8 13
4 9 14
<blank linke>
5 10 15
Comments
thanks , I was able to make it work.
in my reports script.
var
iline : integer;
procedure MasterData1OnAfterPrint(Sender: TfrxComponent);
begin
iline := iline +1;
if iline mod 5 = 0 then
Engine.CurY := Engine.CurY+12;
end;
begin
iline := 0;
end.