Subreport causing an extra blank space in PDF export of SSRS 2008 report

Hi All,
I have a requirement of showing individual report and a Supervisor report.
In the individual report, I will run the SSRS report for a particular worker. In the supervisor report, I am supposed to show the report for each worker working under the supervisor.
I have created the individual report and it works fine(even when exported to PDF).
Now in order to create the supervisor report, I will get the supervisor ID which I broke into various individual ID's of workers working under the supervisor in DataSet and created a subreport which points to the Individual report. I embedded this subreport
in a Tablix and gave a group by on the ID so that for each ID, the report runs one time.
The issue that I am facing is that when I export the Supervisor report in PDF, after each page, I get an extra blank page.
The Supervisor report only contains the Tablix which has only one column containing the sbureport which points to the Individual report and a Header and footer and nothing else.
Still I am getting this extra page on PDF export. Please help on the same.

Hi HiddenIdentity,
According to your description, you have a report to display subreport for each ID and you have set page break between each group instance. Now when you export the report into PDF, it generate an extra blank page between each group instance. Right?
In Reporting Services, Reports exported using PDF and Image are optimized for a book-like or printed experience where pages are a consistent size. Page breaks are inserted vertically and horizontally at specific locations within the report body. These specific
locations are determined by the page width and page height settings. Please see the following link:
Rendering Behaviors (Report Builder and SSRS)
In this scenario, when you put a sub report in a cell, the whole subreport body will be displayed in this cell. If the total width exceed the page width of a PDF page, the content will goes to the next page. That's it need two pages to render each subreport.
So please modify the subreport report size to make it as big as the tablix so that it can be rendered within one PDF page.
If you have any question, please feel free to ask.
Best Regards,
Simon Hou

Similar Messages

  • New line break and extra blank space characters disappear after submit form?

    Hello,
    I have a PDF form with a Submit button that is dynamically created in my code to send the form data to the server in HTML format.
    After the form data is received on the server side, all strings with new line break and extra blank spaces are gone.
    For example, if I enter string in a text field as shown below on the form:
    Hello   ,  
    this is  
        just a
    test
    After the form data is sent to the server, this string would become:
    Hello , this is just a test
    New line breaks are gone. Also, if there is more than 1 blank space character between 2 characters, the extra blank space characters would be removed as well.
    It does not only happen to multi-line text field, even with single-line text field. If I have a string like this in a single-line text field:
    Hello         this is just              a         test
    After the form data is sent to the server, it would become:
    Hello this is just a test
    The form is created in OpenOffice then converted to PDF. The Submit button is created in my program using iText.  I have no idea it is iText that trims my string or PDF itself does it.
    Can anyone give me any possible explanation? Thanks.

    That is not what I get. Since it's URL-encoded, spaces are represented by the "+" character and carriage returns are represented by the "%0d%0a" (cr/lf) sequence.
    Are you looking at the actual data that getting sent to the server or the output from the server after it processes it?

  • Extra blank space problem in af:selectOneChoice

    Hi All,
    I m using <af:selectOneChoice> to display few items in combo box. Now the problem is when the page gets load 1st time, its show an extra blank space in item list, but after selecting any item from the list page gets refreshed and reload again, now it does not have any extra blank space in the list.
    How do I remove this blank space from the combo box ???

    Hi Usha,
    1. Remove the Condition from you Context tab.
    2. In the Driver Program check for the condition and fill the value in the internal table which is passed to
        the adobe form.
    3. Make the subform (under which the field is added in the hierarchy view) as flowed.
    4. In the script editor, Select the 'javascript' and write the script to hide the form field specifying the condition here.
    for e.g
    if (xfa.form.FORM.SUB_FORM.matnr == "123") {
        xfa.form.FORM.SUB_FORM.Region = "hidden";
    NOTE: Javascript is Case sensitive and stops working immediately after the line of code where an error occurs.
    Hope this proves to be useful.
    Thanks,
    Swar.

  • How to add extra blank space in xml

    I open the xml file in notepad I get this
    <XXON_EXT_BANK_ACCOUNT_NAME>創名聯合會計師事務所                                        </XXON_EXT_BANK_ACCOUNT_NAME>
    But when I open the xml file in html format the blank space is gone.
    How can I add extra blank space in xml?

    Hi
    Why do you need the extra space for?
    This difference in display that you see between your browser and notepad/notepad++
    will not affect your generated report.
    Bogdan 

  • How to get rid of all the extra blank cells in excel export

    Hi I am using vs2005 and when the user exports a report to excel there are many extra blank cells and rows, just wondering if there is a way to get rid of these, thanks.

    Hi I will have to look for the article but if I remember correctly you will want to use the grid format set up on the view menu.  This displays the entire report in crystal reports overlayed on a grid.  You will then want to line everything up has much as possible both horizontally and vertically.  You can use the snap to grid feature which will turn the end of the text object red when it is aligned.  I placed ruler markers on both the x and y rulers and tried to line stuff up to those.  Try to get rid of any blank space between the objects placed on the report as the excell dll will turn these into additional cells.  I do not know if crystal reports for .net has this feature but I used version 9 developer edition.

  • How to remove extra blank spaces from log file.

    i have created a log file which contain the logs of a program. the logs are getting created fine for the first execution of the program but from the second time the log file is getting blank space's after every character.
    i have used the code to append the text in log files few examples : 
     'Clean up process started....' >> $log
    File name :'+ $files +'Time-Stamp: '+ $endtime +'Search complete.' >> $log 
    .i want to remove the extra spaces after each character but not all the spaces from the file. Thanks in advance.

    hi  mjolinor
    add-content is used to insert text it does not append text at the file .i used >> to append the text on log file ..
    from 
    Get-Help ADd-Content
    Synopsis
    Appends content, such as words or data, to a file.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How to extract ALL text on a line, including extra white space, from PDF?

    I have written my first scripts to parse thru PDF files and successfully locate the beginning and ending of text portions that I wish to copy/extract.  For example, one of the scripts reads thru PDF files and locates patterns that allow me to copy/extract a lengthy Title that spans several lines on the page.  My remaining problem is that sometimes the text I wish to copy/extract has tabs or lots of white space between the words, and I need to retain ALL the "white space" between words.  Basically, I am successful at using getPageNthWord(j, i, false) along with "Quad coordinate sets" to get a word-at-a-time for all the words on the multiple lines but it seems to be skipping over the tabs and extra white spacing beetween the words.   Another way to say this is that I need to extract/copy a full line at a time, including all white space, instead of being limited to just a word at a time. 
    Can anyone help me with an algorithm to extract/copy text, not just the words but also including tabs and other extra white space characters? Is there some type of Regular Expression I should be using, or maybe some additional parameter used for getPageNthWord that would retain all the extra white space?
    Thanks in advance,
    Ted L

    Did you try setting the bStrip parameter of getPageNthWord to false? It will
    preserve some of the whitespace, but not all of it.
    As far as I know, that's the only way to do it via a script.

  • SSRS 2008 Report with two tablix have extra blank pages

    I am working on a report in SSRS 2008 that has two tables (or tablices?). My report is set to a width of 11 and height of 8.5, left and right margins of 0.25, top and bottom margins of 0.5. Paper size is Letter, Orientation is landscape.
    With margins accounted for, I basically have 10.5 of workspace for the Body. The first tablix's width is way under 10.5 but the second tablix has lots of columns and would have to span two pages so the Body goes past 10.5 but I
    kept it under 22 (twice one page).  I put a PageBreak after the first tablix. When I run the report and do a Print Layout, the first tablix prints with a blank page after every printed page of that table. The second tablix prints just fine, no extra
    blank pages in between. So I suspect that it is the "empty space" to the right of the first tablix, which is caused by the second tablix's width, that is the problem.
    However when I tried to switch the tables in my report and have the wider tablix print first and the narrower tablix print after it, I did not get any extra blank pages on both; the reports prints just fine.
    Unfortunately, I cannot have the wider tablix print first with the report I need. I would like to know if this is a bug in SSRS 2008? It appears that there is something with the order report objects are printed and their size. Has anyone figured this out
    yet?  Thanks.

    I found
    this post on the MSDN forum that offers the following solutions that worked for a few people responding to that thread.  You might want to try one of these:
    "I found the problem cause.  In Reporting Services, report body width must be <= (report width - report margins width).I reduced the margins to zero width, and the pagination problem disappeared!"
    "I have solved my problem. With SSRS you must be very careful with the way you place objects
    Growing objects will push those on their right, even if they are not on the same line /!\
    Consider a textbox 2 inches large centered, and a growing matrix beneath it. on the left, 1 inch large. At run time the matrix will grow and the title will be pushed aside. And this may cause blank pages.
    A workaround is to create 1 rectangle per object. The rectangle should occupy all the body space available while objects occupy only a part of their embedding rectangle."
    Carla
    Carla Sabotta

  • Extra blank space in formula and summary fields

    I have a report that gives text output. In that I have 3 fields which are numeric.
    One of them has source as summary column- numeric 3 digits(format mask 000) and other 2 has source as formula column- numeric format mask (0000.00)
    Here is my problem- When the value in my summary column is 3, it prints space(instead of 0) and 03,
    if the value is 56, it prints a space and 56. if the value is 139, it prints a space and 139. Now this increaases the size of my line by 1 space, which is acceptable to the system that we are feeding this data.
    Similar thing is happening for the formula columns, 1 space (instead of 0) and then 000.00 is printed, if the value is filling the format mask, then it will have an extra space before giving out the value 1234.56.
    Can somebody please help me with the situation.
    Thanks
    Anna

    Finally, I got the fix.
    Here is what I did: Instead of the format mask '000' or '099' or '0nn' I used '000Y'
    adding a Y supresses the extra space that is reserved for + or - sign. And supression need to be added at the end like I showed, not like 'Y000'.
    Now my data looks like this, which is what I wanted:
    04/23/20120020123.451234.5610/24/2008
    If you look close, there are no spaces now as compard to my previous data line.
    Thank you all both for spending some time and giving me pointers.

  • Removing extra blank space after Header in IE

    This is my first webpage in Dreamweaver (actually it's my
    first webpage!) I'm still super new and can use A LOT of help.
    First off, I'm using the two column elastic left sidebar
    header/footer template from DW. When I preview my page in IE I get
    an extra gap between the header and the sidebar/maincontent portion
    of the screen. I've tried zeroing all of my margins and padding and
    that seems to have no effect. I read some of the other posts and
    found some code that sounds like it should fix the problem, so is
    this all I have to add to my code?
    Attach Code:
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional
    comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional
    comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout
    it needs to avoid several bugs */
    </style>
    <![endif]-->
    Also, I am trying to add an image placeholder to my header,
    but everytime I try, the placeholder becomes part of the <h1>
    tag. I don't want it to be part of the <h1> tag (I don't
    think). I would like to be able to just place it in the header so
    that I can float it left and have it not effect my <h1> tag
    at all. Is there a fix for that? I would assume that there would
    be, but seeing as I'm still at Newb status, I have no idea what
    that code would be.
    Thank you!

    Ewww - made the page in Word, did you?
    span.style81 {mso-style-name:style81;
    mso-ansi-font-size:17.5pt;
    mso-bidi-font-size:17.5pt;
    font-family:Arial;
    mso-ascii-font-family:Arial;
    mso-hansi-font-family:Arial;
    mso-bidi-font-family:Arial;
    color:black;
    font-weight:bold;}
    Try changing this -
    <table width="795" border="0" bordercolor="#000000"
    bgcolor="#000000"
    style="border-color: #333333;">
    to this -
    <table width="795" border="0" bgcolor="#000000"
    style="border-color:
    #333333;" cellspacing="0" cellpadding="0">
    Be aware that without specifying a border-style, and
    border-width, your
    border-color style will have no effect.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "moon64" <[email protected]> wrote in
    message
    news:en1idh$kca$[email protected]..
    >I am getting a small space on some of my pages in-between
    the header and
    >the
    > first table. The problem only shows itself in IE, not
    through Firefox. I
    > have
    > encountered the same problem on some other things I have
    been working on.
    > Here
    > is a portion of the file if anyone could kindly see what
    is casuing the
    > problem. Thanks in advance. This board must have
    answered 100 questions
    > for me
    > so far.
    >
    >
    http://www.1candlemarketing.com/fund/headertest.html
    >

  • Pagebreak causing an extra blank page

    Hello everyone,
    I have modified a standard XML template in GL. I am using pagebreak to break my data per journals.
    The problem is, my XML output is displaying a blank page at the last page.
    This is my tag for the pagebreak:
    <xsl:if xdofo:ctx="inblock" test="1=1"><xsl:attribute name="break-before">page</xsl:attribute></xsl:if>
    Appreciate if anyone can help me eliminate the last blank page.

    Hi!
    Use this construction:
    <xsl:if xdofo:ctx="inblock" test="position()<count(//XXXX)"> <xsl:attribute name="break-before">page</xsl:attribute> </xsl:if>
    There XXXX is a block of data for which you need page break.

  • Blank pages in pdf exported from InDesign

    Forgive me if I've already posted this, but I'm new here. All was well with a book project until yesterday when I exported to pdf and two pages came up blank. Why would that be and how can I fix it?

    Actually, there is no such set of privileges as preview privileges in terms of embedding. TrueType and OpenType fonts either allow no embedding (the font cannot be embedded within a PDF, EPS, or ePUB file under any condition), preview and print embedding (the font may be embedded, but only for purposes of display and printing - such text within the PDF file may not be edited), or installable embedding (the font may be subsequently installed someplace else).
    When you export PDF from InDesign, if the font used within the InDesign document has at least preview and print embedding privileges, it will be embedded within the PDF file. Otherwise, you will likely get a warning from InDesign export as well as a PDF file that does not display properly unless you have those fonts actually installed on the PDF file recipient's computer system.
    The way to check as to whether the font is properly embedded in a PDF file is to open the file in Acrobat, press Command D, and click the Fonts tab at the top of the dialog box. Each font referenced in the PDF file is listed. If the font is embedded, it says either Embedded or Embedded Subset along with the font's name. If the font isn't embedded, it will also tell you what font is being used for display, possibly the same font accessed from your installed fonts or perhaps a substitution font.
              - Dov

  • How to select color space for PDF export in Aperture 3

    If you're exporting a book layout as a PDF for printing by a third-party album company, you may need to specify sRGB as the color space for images in the PDF. That's OK if your book is composed of JPEGs that are already in the sRGB color space. But, if your images are RAW, Aperture will export them into PDF using the Adobe RGB color space by default. Sending aRGB images to an sRGB printer will result in flat, unsaturated colors, as I learned the hard way. Apple tech support was unable to tell me how to handle this, but I stumbled on the answer myself. Select the book in the Library pane. Select File > Print Book. In the resulting printer dialogue window, pull down the Color Profile menu (default: No Profile Selected) and select sRGB or whatever target color space you desire. Then, click the PDF button and select Save as PDF. Presto! Your PDF images will now be in the appropriate color space.

    Hi again, here some updates.
    the issue is still there.
    From Aperture, I tried to export to PDF the single images, and they look good (no posterization).
    Furthermore, I created a photo book from iPhoto with the same pictures, and exported it to PDF. It also looks fine.
    Also opening/exporting to PDF from photoshop does not show any problem.
    The problem occurs only if I try to print the book from Aperture (option "print book" -> "save as PDF"), or if I make a book preview before placing the order (I suppose it's the same action).
    Is anybody aware of what exactly Aperture does in these particular cases?
    Please consider that:
    1. my monitor (iMac 24") is hardware calibrated
    2. the source pictures are in RAW (so no color profile on them) and (just a couple) in TIFF (16bit, Adobe RGB). I also tried reimporting in the album jpg converted versions, with no better results.
    3. OS and Aperture are updated to the latest versions.
    This problem is blocking me from placing the order...
    Someone could give some help here?
    thanks in advance
    marco

  • "Cropping" extra white space for PPT export

    I plan to embed a visualization within a specific area of "real estate" on a PPT slide - a rectangle for the lower half of the page. I have changed document properties to minimize the size of the canvas from within Xcelsius, so the visualization just fits.
    Regardless, when I export to PPT, the visualization comes across with large white borders above and below - essentially consuming a large square area. If it were a photo, I would be able to crop it to address the issue, or I could simply place other PPT objects - headings, borders, etc. on top of the photo. But no luck with the embedded xcelsius visualization.
    Any thoughts?

  • Extra white space when I export images in Illustrator cs6

    How do I get rid of the white border around my images when I export? I have tried making a clipping mask but for some reason when I export to a picture format I get this weird white uneven border around the images that wasn't there before I exported it.

Maybe you are looking for