URGENT PLEASE.... 20 lines per page and page foote

Hello.. I have a report and i have to list only 20 band per page.. I have solve this in this way. i have write this to on it is on beforeprint event..

toplam :=toplam+1; // defined in dictionary
If toplam mod 21 =0 then new page;

but after this page footer is written bottom of the page not after the bands. how to solve this.

also i have report end band ... becaue of this i cannot use "increment the bottommargin" method. how can i do this ?

any proposal...

Comments

  • edited 6:25AM
    Hi!

    The PageFooter band is always printed on the bottom of the page and its vertical position doesn't depend on the "number of records/page". If I right You wanna place a band immediately after the last record is printed from the MasterData set (ie after 20 records). You can achieve this with tailing a ChilBand to the MasterData band and in the MD's OBP event write the following:

    Row#:=Row#+1;
    Child1.Visible:=Row#=20;

    You need to track the row# in a variable and set its value to 0 in an invisible pageheader, because of You need to count the row# on every page and the PageHeader band is the right place to initiate page-context variables:

    PageHeader's OBP:

    Row#:=0;


Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.