dharmendrayadav
8th January 2015, 05:17
hi,

In Report "Detail" section there is multiple item can display. if there is only two item then it will display in one page only but when its more than two item, report having two page and in end of Detail section a horizontal line is missing.

i need one horizontal line in end of Detail section when all item are displayed, when report having more than one page that horizontal line displayed on second page, so the first page is having list of item without end of line.

please see layout in attached file and suggest how i can add a horizontal line in end of Detail section on each and every pages.

and also i need to display one part in end of all pages , i used footer but in that its having blank space between Detail section and footer, suggest me in this matter too

dharmendrayadav
8th January 2015, 07:37
please see attached file it will make you more clear what i want to explain in my previous post

bhushanchanda
8th January 2015, 10:40
Hi,

What you can do is, create a new detail layout with a horizontal line in it. Now, when in report skip you are changing the page, before that, call this detail 2 i.e. call it after 2 items are printed.

vamsi_gujjula
8th January 2015, 12:25
1) do you want just a horizontal line ??
2)or you need to fill the gap too..( between footer and detail)

if only 1) then try placing after.invoice layout ... with the closing horizontal line

if 2) copy footer to after.invoice layout , place horizontal in footer and after.invoice layout and used a flag to supress footer if after.invoice layout is printed


Occasionally you might end up with only after.invoice layout in the new page .. that can be either way ignored

dharmendrayadav
12th January 2015, 05:25
hi all,

thanks for your suggestion, i add one new detail layout and now it display perfectly.

>> p.d1.l is a boolean which is used in display.1 in std script, what i did i count(cnt) the no. of item line and also count the total not of item(i).

if p.d1.l =1 then

lattr.print = false
cnt = cnt + 1

select count(*) :i
from whinh949
where whinh949._index1 = {:whinh949.einv}
selectdo
endselect

if cnt = i then
lattr.print = true
endif
else
lattr.print = false

endif