AnuKass
27th February 2019, 12:46
hi ..
In my report ,i use lattr.print =false .the detail is not prited actually ..but it consume space for that....
is there any function to remove a line ??
also use that,
if len(shiftl$(lattr.prline)) = 0 then
lattr.print = false
endif
but it didn't work...
Thanks in Advance...
mark_h
27th February 2019, 15:11
Did you debug it and make sure it is 0 and lattr.print really gets set? Wondering if you should try "if isspace(lattr.prline) then" or len(strip$(shiftl$(lattr.prline)) - some of those fixed variables always have a length.
AnuKass
28th February 2019, 09:45
Hi mark,
i tried already ..but still empty line is printing ..
any function available for layout printing in user defined line number?
bdittmar
28th February 2019, 09:51
Hi mark,
i tried already ..but still empty line is printing ..
any function available for layout printing in user defined line number?
Hello,
are you sure, it's an empty line.
Or does the layout consist of two lines ?
Regards
AnuKass
28th February 2019, 11:50
Hii,
i'm repeating my question .
e.g my report should print 5 record .
but except 1st record,remaining record don't want to print.so use lattr.print=false.
actually it doesn't print .
but it consumes 4 record of empty line = ( 4 record printing space)
i check sprintf$(lattr.prline)-i got empty
any thing wrong in this?
then next record printed on 2 page .my pagelength is 70 .only 32 lines used .remaining are idle .in single page, only one record printed. what will do?
mark_h
28th February 2019, 14:24
Confirm the layout is only one line. Which event are you setting lattr.print to false in? Is it in the before layout of that detail? Is there only 1 header and 1 detail in the report? Best thing is to debug the report and step thru it completely - because something is still printing.
AnuKass
28th February 2019, 14:38
hi ..
sorry my detail layout has 5 line..
is didn't work for that condition ?
then for my condition how to remove empty line???
Ajesh
28th February 2019, 15:00
Just redesign and remove those extra lines from Report Layout.
bdittmar
28th February 2019, 15:06
hi ..
sorry my detail layout has 5 line..
is didn't work for that condition ?
then for my condition how to remove empty line???
how to remove empty line = esc+shift+s
Regards
AnuKass
1st March 2019, 06:09
Hi all..
In my detail layout consist only 11 line ....
at run time 1 record(1st 11 line ) printed in 1st page ...then 2nd record(11line) printed in 2page..
my page length is 70 ..remaining lines are idle....
how to solve this problem...??
mark_h
10th March 2019, 20:07
Does the detail layout have the page option turned on for it? In 4c4 there is a place to click and turn on a new page for the layout. Check for that.