hi all... i want to give limitation for the report
for example i have 3 documents
document 1 have 5 lines
document 2 have 11 lines
document 3 have 15 lines
each document only allow 10 lines
so... when i print document 1 - 3
it should show like this
document 1 = 5 lines
document 2 = 10 lines
document 3 = 10 lines
does anybody have an idea?
i used currreport.break in classic doesnt work
because if i have 15 lines... it still showing line 11-15 in second page
0
Comments
(but document that you've used that feature, another developer can easily miss it :whistle:
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
i set maxiteration as 10
but if i have 15 lines
then the 5 more lines will show in another page
i want to print only first 10 lines of the documents
starting from page 2 on wards
so the 1st page not to be printed
In the printer selection window..set pages from 2 to X
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
if so on what dataitem did you set maxiteration?
you should set it on sales line, but i don't remember if the No. of iteration is reset every time you change the outer dataitem (e.g. sales header). If not, you'll get something like
Document 1 --> 5 lines
Document 2 --> 5 lines
and nothing more
In that case, a counter with a well placed currreport.skip/break should be ok :-k
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
here is the scenario
i have 3 documents
Document 1 have 5 lines
Document 2 have 10 lines
Document 3 have 15 lines
even though i highlight document 1-3 to be printed
but Document 3 will be printed
why? because only document 3 that have more than 10 lines
so it should print document 3 (only line 11-15)