i had query regarding the report
I had created a invoice report , in which the i had designed the footer section with Print on Every Page as "YES" and Place in bottom as "YES". The actual problem am facing is whenever the line details(Sales invoice Line) are more than 10 line , it display the total of that page at the end at bottom and it is creating a new page and continue with remaining lines.User dont want the Total to be displayed for the record that more than 10 lines in frist page and want the total to be displayed at the end of the record. how to do it... i had tried all the option that am aware . i had removed the property i had set for footer section and tried with different option ... but it is not working... kindly need advice ](*,) :^o
0
Comments
where are you placing you codes and can we see the codes please?
shona
That which you seek inside is that which you find outside
repCheck.InitTextVariable();
CLEAR(decTotalAmount2);
IF "Sales Invoice Header"."Free Supply" = FALSE THEN BEGIN
decTotalAmount2 := ROUND(decTotalAmount+decTax+decRoundOff,0.1);
repCheck.FormatNoText(txtTotalInWords,decTotalAmount2,'');
END;
This is what the code i have written... hwot print for the record which continues in next page... but user dont want the total to be displayed in the pervious page(frist page) and only at the last page (second page). how to do it. i had set the property of Footer section both the (Print on every page and Print at the bottom to "YES"), how to do it
shona
That which you seek inside is that which you find outside
have you?
shona
That which you seek inside is that which you find outside
where exactly in the code have you told this? sorry i must have missed it!
shona
That which you seek inside is that which you find outside
I'm not completely understanding....
If you have a footer and you don't want it on every page then change print on every page to "no".
if you need some info to print at the bottom of each page then add a new trans-footer not a footer.
to control lines on a page use something like this.
OnPostSection() of sales line
LinesPerPage := LinesPerPage + 1;
IF LinesPerPage > 10 THEN
CurrReport.NEWPAGE;
http://www.BiloBeauty.com
http://www.autismspeaks.org