07-03-2014 01:01 AM
Hi all,
I am using NIReport to generate the report/Print.
I have problem
I have one page to print,
I have written till the last line
Problem is that NI Report is adding a new blank page which is not needed.
This problem doesn,t occur when we don't write in the last line or left blank.
Note : I have a header and footer details also
It will be printed on the blank page.
When NIReport understand specific text is last line of page, then NIReport automatically adding new page in template .
How to avoid to print last blank page in NIReport ?
Thanks
Mukesh Kumar
Solved! Go to Solution.
07-03-2014 01:34 AM - edited 07-03-2014 01:34 AM
Just a guess: are you using AppendLine? If so, you could try to switch to AppendText to write the line, adding NewLine as the first call when you need to start a new line. AppendLine add a new line to the report after printing the line, and this could generate a blank page if you are writing to the last line in the page.