on 01-28-2014 3:36 PM
I have a few reports in my application that seem to be printing blank pages. It looks like the first page is correct with the correct data. I have a page count on the bottom of the page using "'Page ' + page()+ ' of ' + PageCount()".
The next page is blank. The 3 page just says page 1 of 1 on it and the last page is blank?
Does anyone know of a reason why blank pages would be printing out from a data window report?
SQL only returns 1 record from the database. So i am puzzled as to why i get 4 pages printed and why 3 of the pages are blank.
Hi Steven;
This typically happens when controls are placed outside the DW's print area. Check for both visible and non-visible objects. You might want to make sure that you have RULERS & display invisible turned on in the DW Painter - plus, toggle back & forth in/out of print preview mode to check for how the DWO will behave during printing.
HTH
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess the part that is odd is when i do the rows -> retrieve. It is showing up in that preview as one page?
but when i do the .print() on that data window it is printing two pages. the first page is what i see in the preview the second page is blank with just page 1 of 1 on it.
I looked for hidden data elements and i did not find any.
How does PB know how many pages to print?
The page count pertains to vertical pages. Your problem is more than likely horizontal pages. Methodically remove objects from the right side of your dw until the horizontal page count in print preview mode goes to 1.
This usually happens when you have any controls outside the page margins. You can open your Datawindow painter, enable the rulers, and check for any visible or invisible objects or controls that lie outside the frame.
This should give you an idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steven,
Temporarily change the border of all your objects to a box. The blank page should display the border of the offending object. Don't forget to change the borders back when done.
hth,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.