SSRS 2008 R2 report prints empty spaces for html content till end of page

Hi
I need to display records containing long html content say each record of different size ranging from 5 lines to 3-5 pages.
Issue observed is:
When a record complete is printing say half the page and subsequent record is bigger then half a page, the subsequent record is printed on the next page rather than continue immediately after the previous record is completed.
Is their any property or any other solution to resolve the issue. Print on next page is not set.
Nikesh Shah

Hi Nikesh,
As per my understanding, I think the issue is caused by the blank space in the report body. In order to get rid of the blank space when print the report, please refer to the following steps:
Click on Report > Report Properties > Layout tab
Make a note of the values for Page width, Left margin, Right margin
Close and go back to the design surface
In the Properties window, select Body
Click the + symbol to expand the Size node
Make a note of the value for Width
Please check the Page Break settings on all your report items and make sure the Body Width + Left margin + Right margin less than or equal to Page width, just like the equalities below:
(Body Width + Left margin + Right margin) <= (Page width)
If there are any other questions, please feel free to ask.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • SSRS 2008 R2 report does not print the page header for a html content displaying on multiple pages

    Hi
    I need to display the html content from the database. The html content are quite long and can have content of 3-5 pages. Issue I  am facing is f the record has html content of 3-5 pages, then it does not print the page header (which is a separate tablix) on
    second page onwards.
    Nikesh Shah
    Nikesh Shah

    Hi Nikesh,
    According to your description, I’m not sure the meaning of Page header in your scenario. In Reporting Services, a page header that run along the top of each page, respectively. Headers can contain static text, images, lines, rectangles, borders, background
    color, background images, and expressions. But we couldn’t add tablix in the page header.
    If you are saying report header, a report header consists of the report items that are placed at the top of the report body on the report design surface. They appear only once as the first content in the report. So it cannot repeat in other pages.
    If you are saying tablix header, freezing column headers are different in table and matrix. For more details, please refer to the following thread:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8ddc1af-1bdf-4e72-8aab-0353c7cc848a/ssrs-report-freezing-row-and-column-while-scrolling-issue?forum=sqlreportingservices
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Ssrs 2008 r2 report dataset call a stored procedure

    I am modifying an existing SSRS 2008 r2 report. In a dataset that already exists within the ssrs 2008 r2 report I need execute
    a stored procedure called StudentData and pass 3 parameter values to the stored procedure. The stored procedure will then return 5 values that are now needed for the modified ssrs report. My problem is I do not know how to have the dataset call the stored procedure
    with the 3 parameter values and pass back the 5 different unique data values that I am looking for.
    The basic dataset is the following:
    SELECT  SchoolNumber,
            SchoolName,
            StudentNumber,      
     from [Trans].[dbo].[Student]
     order by SchoolNumber,
              SchoolName,
              StudentNumber
    I basically want to pass the 3 parameters of SchoolNumber, SchoolName, and StudentNumber to the
    stored procedure called StudentData from the data I obtain from the [Trans].[dbo].[Student]. The 3 parameter values will be obtained from the sql listed above.
    The  columns that I need from the stored procedure called  StudentData will return the following data columns
    that I need for the report: StudnentName, StudentAddress, Studentbirthdate, StudentPhoneNumber, GuardianName.
    Thus can you show me how to setup the sql to meet this requirement I have?

    Hi wendy,
    After testing the issue in my local environment, we can refer to the following steps to achieve your requirement:
    Create three multiple parameters named SchoolNumber, SchoolName and StudentNumber in the report. Those available values from the basic dataset SchoolNumber, SchoolName and StudentNumber fields.
    If you want to pass multiple values parameter to stored procedure, we should create a function as below to the database:
    CREATE FUNCTION SplitParameterValues (@InputString NVARCHAR(max), @SplitChar VARCHAR(5))
    RETURNS @ValuesList TABLE
    param NVARCHAR(255)
    AS
    BEGIN
    DECLARE @ListValue NVARCHAR(max)
    SET @InputString = @InputString + @SplitChar
    WHILE @InputString!= @SplitChar
    BEGIN
    SELECT @ListValue = SUBSTRING(@InputString , 1, (CHARINDEX(@SplitChar, @InputString)-1))
    IF (CHARINDEX(@SplitChar, @InputString) + len(@SplitChar))>(LEN(@InputString))
    BEGIN
    SET @InputString=@SplitChar
    END
    ELSE
    BEGIN
    SELECT @InputString = SUBSTRING(@InputString, (CHARINDEX(@SplitChar, @InputString) + len(@SplitChar)) , LEN(@InputString)-(CHARINDEX(@SplitChar, @InputString)+ len(@SplitChar)-1) )
    END
    INSERT INTO @ValuesList VALUES( @ListValue)
    END
    RETURN
    END
    Use the query below to create a stored procedure, then use it to create a dataset to return 5 values:
    create proc proc_test(@SchoolNumber nvarchar(50),@SchoolName nvarchar(50),@StudentNumber nvarchar(50))
    as
    begin
    select StudnentName, StudentAddress, Studentbirthdate, StudentPhoneNumber, GuardianName
    from table7 where SchoolNumber in (SELECT * FROM SplitParameterValues (@SchoolNumber,','))  and SchoolName in(SELECT * FROM SplitParameterValues (@SchoolName,','))  and StudentNumber in (SELECT * FROM SplitParameterValues (@StudentNumber,','))
    end
    Right-click the new dataset to modify the parameter value in the Parameters pane as below:
    =join(Parameters!SchoolNumber.Value,",")
    =join(Parameters!SchoolName.Value,",")
    =join(Parameters!StudentNumber.Value,",")
    For more details about pass multi-value to stored procedure, please see:
    http://munishbansal.wordpress.com/2008/12/29/passing-multi-value-parameter-in-stored-procedure-ssrs-report/
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • SSRS 2008 R2 Report parameters have default values and report not to auto run

    Hi, I am using SSRS 2008 R2 one of my requirements for a Report is all the parameters have default value and I do not want this report to auto run when users open this report. I can create a dummy hidden parameter to break the auto run for this
    report. But I am looking for solutions other than that.
    Thanks in advance..........
    Ione

    Hi lone,
    According to your description, you have a report with parameters. Now you want you report not to run automatically with your parameters default values. Right?
    In Reporting Service, if you have parameters with default values in your report, your report will always auto run with these default values. We can say these default values are used for report running initially. So for your requirement, if you really need
    to see your default value before the report running, the best workaround is set one more parameter to break the auto run like you have done. If you just want your report not to auto run, your can achieve it by removing those default values.
    Reference:
    Report Parameters (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • Pass values between ssrs 2008 r2 reports

    In a  ssrs 2008 R2 report, I need to pass parameters to existing subreports that are currently called.  Basically there is a main sssrs 2008 r2 report and there are 3 subreports. I would like subreports #1, subreport #2, and subreport #3 to receive
    the value values of customer number and customer name. I am hoping you can tell me and/or show me code that would tell me how to add parameters parameter values that are used to call these subreports.

    Hi wendy,
    According to your description, it seems that you want to pass parameter values from main report to subreport1, from subreport1 to subreport2, and from subreport2 to subreport3. If in this scenario, you can refer to the following steps about the sample test
    (from main report to subreport1) in my environment:
    Create a parameter named ID in the main report, adjust the report body and tablix with the same size.
    In the subreport1 report, right-click one cell to insert a subreport.
    Right-click the subpeort to open the Subreport Properties, and select the main report name in the drop-down list.
    In the left panel of the Subreport Properties dialog box, click Parameters.
    Select ID in the drop-down list of Name, and select [ID] in the drop-down list of Value.
    Considering your question, because I have create a parameter in the main report and specify the parameter in the subreport1, the main report will be passed by the parameter to subreport1.
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine xiong
    If you have any feedback on our support, please click here.
    Katherine Xiong
    TechNet Community Support

  • Urgent: sometimes my report prints empty

    Hi there,
    We have developed an application in Oracle Forms & Reports with Oracle as Back-end. From the Forms, user makes a transaction and say print, it prints well. But when he fastly do the transactions and say print, some reports comes with data and some reports comes with out data (it prints empty). But when I check the database, the data is there for the transactons he made.
    So, can any body tell me what wrong with my application.
    Regards,
    Aqueel.

    hi! i went to nokia yesterday and they said that the only solution is to upgrade the software but you need to do a back up coz all the data will be lost. My phone is good condition now and i can received messages without restarting my phone over and over again...
    give me also a update on after you send it to nokia center...for upgrading new software.

  • XML Publisher Printing Blank spaces for no data

    hi All,
    We are trying to build a report using XML Publisher and .RTF template.
    We have dynamic fields like Wt Uom, Volume Uom, Dimensions.So when we don’t have data in these fields XML Publisher consider these data as blank and so blank spaces comes. If we have data in these fields then blank spaces will not come, as the blank spaces will be filled up the data of Wt, Volume and Dimension fields.
    We want to remove the blank spaces for the items that do not have any corresponding data for the fields. Is there any way we can remove the field header and the blank spaces that are there?
    Please help
    thanks,
    Chandan

    Hi Chandan
    The element is present in the XML data, but it has one space
    <?if:element_name and element_name=' ' ?> desired behavior when
    the element exists but value has one space <?end if?>
    Or
    what you can do is trim the data before forming XML .

  • Outlook 2013 Quick Print not working for HTML attachments.

    I have to print multiple orders that are received as attached HTML files (Sometimes 20+ attachments).  In Outlook 2007 (On XP) this worked fine I could print the email with attachments and everything would be waiting for me in the printer. 
    I just got a  new computer running windows 7 and Outlook 2013 and I can no longer print the attachments.
    I printed through File, Print, Printer Options, Print Attached Files - Email prints, no attachments.
    I tested with an attached DOCX and PDF - Both print the email and attachment.
    Quick Print HTML attachment - Nothing Prints.
    Open Attachment in Internet Explorer - Prints fine.
    Changed Default Program for HTML files to Firefox and tested quick Print - Nothing Prints
    Changed Default Program for HTML files to Word and test quick Print - Prompts for program to use when opening (for every attachment), I choose Word, it opens but does not print.
    I've been searching for anything else to try but I'm running out of ideas  Any help would be appreciated!
    Thanks!

    To resolved this issue i tried below trouble shooting:
    1) Repair MS office 2013
    2)Uninstall and install office 2013
    3)Rename the Outlprnt file  to Outlprnt old  from C:\Users\%Username%\AppData\Roaming\Microsoft\Outlook\ 
    4) 2 times Re install printer drivers 
    5) Creat new outlook profile 
    if you Unable to print from Outlook 2013 without receiving the "Printer not ready" message (32/64 Win 7 Pro).
    This changed worked for us, by selecting the Advanced properties on the printer and changing the default setting "Start printing immediately" to "Start printing after last page spooled".
    I hope it works for you, good luck in your quest!
    Tzuri Ben Ezra | My Certifications A Plus, MCP, MCSA, MCITP | FaceBook:
    Tzuri FaceBook

  • Replace every empty space the beginning and the end

    Hi All. I want to use get-content and -replace to replace empty spaces:
    The text file
    Line1:abcd
    Line2:cdef
           Line3:jukq
    Line4:casdj

    First of all, this isn't relevant to DPM so would have been more appropriate being posted in
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverpowershell and potentially have a better chance of being replied to before now.
    That said, doing what you're after is fairly straight forward, though the exact method depends on what you're trying to achieve.
    If you want to update the existing file c:\input.txt so that same file ends up with the spaces removed, then use :
    (Get-Content C:\input.txt) |
    Foreach-Object {$_ -replace " ",""} |
    Set-Content C:\input.txt
    Alternatively, if you're trying to load those values into a variable ($foo) but with the spaces removed then you can use :
    $foo = (Get-Content C:\input.txt) |
    Foreach-Object {$_ -replace " ",""}

  • FR Report Print Layout Setup for Excel

    Hello All,
    Is there any way to setup the Page Layout for Excel export of the report.The user will export the report from HTML view on Workspace to Excel from File Menu options.After viewing the report in excel the user should be able to directly print the report without setting the page size and all.
    The Page Set Up option seems to be working for PDF but not in excel.
    REgards
    AG

    Hi AG,
    As far as I know, this option is limited to pdf view. It could a nice enhancements in the upcoming versions as I've heard this request many times from various clients.
    Cheers,
    Mehmet

  • Creating snapshot in SSRS 2008 R2 report will disable some parameters.

    Hi guys.
    I'm new to SSRS, so the question that I'm going to ask might sound stupid, hope you guys don't mind.
    I have a few reports that display data based on the snapshot. I found out that some of the parameters on certain reports were disabled and some are not. When I removed the snapshot setting and display the report based on latest data, those disabled parameters
    will be enabled again.
    After some search from Google, I understand that when using snapshot, the parameters will be disabled. But in my case, not all parameters are disabled. And there is some reports with snapshot, all of their parameters are enabled. Please help me on this if
    there is any settings that I need to do to enable all of the parameters.
    Thanks and have a nice day.

    Hi engloon,
    According to your description, you want to enable parameters when creating a snapshot. Right?
    In Reporting Services, Snapshots can be created manually or at scheduled intervals for any report that can run unattended. Furthermore, if the report uses parameters, you must specify default values to use when the report runs. You can specify stored credentials
    and parameter values in the property pages for the report.
    In this scenario, you may have default values for parameters in some reports so that it looks those reports have parameters enabled. So if you want to have snapshot rendered with parameter selection, you can specify the default values in Parameter tab. Please
    follow the steps below:
    Open Report Manager, and locate the report for which you want to modify parameter settings.
    Hover over the report, and click the drop-down arrow.
    In the drop-down menu, click Manage. This opens the General properties page for the report.
    Select the Parameters tab. If the Parameters tab is not visible, the report does not contain parameters.
    Reference:
    Create, Modify, and Delete Snapshots in Report History
    Add a Snapshot to Report History (Report Manager)
    Parameters Properties Page (Report Manager)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Steps to configure mobile devices to open ssrs 2008 r2 reports

    Hi,
    We have a requirement to setup mobile devices for users to access their reports via report manager. I have researched these forums and found some information on the supported browser versions on these devices, and some issues faced by users on the iphone,
    ipad etc. But I need a step by step guide on how to set up the end to end process. I am fairly new to SSRS, so can someone help me?
    Thanks.

    Hi LiamLu,
    Currently, Reporting Services reports does not support run in mobile devices. I recommend you refer to the following blog about Mobile BI strategy, please see:
    Power View, PASS and Mobile:
    http://blogs.msdn.com/b/sqlrsteamblog/archive/2011/10/13/power-view-pass-and-mobile.aspx
    Meanwhile, you can also take a look at the following article:
    Viewing reports and scorecards on Apple iPad devices (SharePoint Server 2010):
    http://technet.microsoft.com/en-us/library/hh697482.aspx
    Otherwise, we discuss Analysis Services related issue in this forum. If you have any more questions about SQL Server Reporting Services, you can post them in Reporting Services and Power View forum:
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/threads
    Regards,
    Bin Long
    Bin Long
    TechNet Community Support

  • Ssrs 2008 the report instead of showing Emp # want to show Emp Name , how i can write case when syntax

    working on SSRS report , pulling the data with Emp # I want to show with emp Name instead,
    is there way to write case when syntax so it can show only emp name instead of emp #
    for example
    Emp #        Emp Name
    144                 Kevin
    want report to pick the name as Kevin instead of 144
    any help will be great
    thansk

    thanks for reply RSingh
    I tried changing the query as you suggested
    SELECT [EMP #], [EMP NAME], FIELD1, FIELD2 FROM TABLENAME
    it did not work,  getting error message
    empLid  table name JMGPAYEMPLOYEE  and there is no emp name field
    when I modify the query as per above getting error message
    because I have 2 data set
    1.  Projid
    2. Projgroupid
    3.  parameter I have date
    below is my query
    SELECT        PROJTABLE.PROJID, PROJTABLE.PROJGROUPID, PROJTABLE.DATAAREAID, JMGPAYEMPLOYEE.EMPLID, PROJTRANSPOSTING.QTY, JMGPAYEMPLOYEE.PRICE,
                             PROJTABLE.DIMENSION2_, PROJTRANSPOSTING.POSTINGTYPE, PROJTRANSPOSTING.COSTSALES, PROJTRANSPOSTING.PROJTRANSDATE,
                             CATEGORYTABLE.CATEGORYNAME
    FROM            PROJTABLE INNER JOIN
                             PROJTRANSPOSTING ON PROJTABLE.PROJID = PROJTRANSPOSTING.PROJID AND PROJTABLE.DATAAREAID = PROJTRANSPOSTING.DATAAREAID
    INNER JOIN
                             JMGPAYEMPLOYEE ON PROJTRANSPOSTING.DATAAREAID = JMGPAYEMPLOYEE.DATAAREAID AND
                             PROJTRANSPOSTING.EMPLITEMID = JMGPAYEMPLOYEE.EMPLID INNER JOIN
                             CATEGORYTABLE ON JMGPAYEMPLOYEE.DATAAREAID = CATEGORYTABLE.DATAAREAID AND
                             JMGPAYEMPLOYEE.EMPLID = CATEGORYTABLE.CATEGORYID
    WHERE        (PROJTRANSPOSTING.COSTSALES = 1) AND (PROJTRANSPOSTING.POSTINGTYPE = 121) AND (PROJTRANSPOSTING.PROJTRANSDATE >= @Paramfromdate) AND
                             (PROJTRANSPOSTING.PROJTRANSDATE <= @ParamTodate)
    any advise will be helpful
    thanks

  • SSRS 2008 R2 Report - Sum Totals of a Filtered Group

    I'm at a loss here, so any help will me much appreciated. I will do my best to explain, but if you need additional information, please let me know:
    I have a very large dataset of patient data. Specifically for the numbers I need, I have a patient number field, a county field, a 1 or 0 for LastYear field, and a 1 or 0 for CurrentYear field.
    Example:
    PtNo    County  PY  CY
    45676  Scott     0    1
    45322  Cape     1     0
    47686  North     0     1
    The thing I am shooting for on my report is, "Volume growth in 3 counties (+20 cases)."
    I created a group and grouped by County (group name County) and I included a group filter to only include "total cases of CY" are greater than "total cases of PY" to narrow my data to only counties that had a higher current year sum
    than previous year sum.
    Example:
    County  PY    CY  Difference
    Scott    141  143     2
    Cape     90    98      8
    North    78     88    10 
    All is working well, except I don't need to see the Counties themselves, I just need the 3 counties and a difference of 20. 
    I explored online and found tutorials that said to right click on the field and select "Add Total" but this total did not have my filter in it and gave me everyone. I also tried adding a row outside the group and used the RunningValue function
    (i.e. RunningValue(Fields!FYTD_Current_Year.Value, Sum, "County"))  but it gave me a message that states "The Value expression for the text box 'Textbox456' has a scope parameter that is not valid for an aggregate function. The scope
    parameter must be set to a string constant that is equal to either the name of a containing data region or the name of a dataset."
    When I move the row with the RunningValue function inside the group, it runs but I get the same information repeated twice for each county with no final total.
    So I am not sure how to go about getting my values I need for my report. Anybody know how to resolve this?
    Thanks,
    Cyndi
    cpemtp1

    Hi Cyndi,
    Based on my understanding, you specify a filter condition in group properties. Then you want to sum the filtered values for each field.
    In this scenario, we need to specify a filter condition on group level. If we use sum() function out of group, the expression will calculate the total values on dataset level instead of group level. So we can’t simply use expression to achieve this goal.
    However, we can use custom code to record the filtered values for each field, then we can calculate the total based on these values. Please refer to the steps and screenshots below:
    1. Add the custom code below into the report:
    Public Shared Value1 as Integer=0
    Public Shared Function GetValue1(Item as Integer) as Integer
    value1= value1 + Item
    return Item
    End Function
    Public Shared Function GetTotal1()
    return value1
    End Function
    Public Shared Value2 as Integer=0
    Public Shared Function GetValue2(Item as Integer) as Integer
    value2= value2 + Item
    return Item
    End Function
    Public Shared Function GetTotal2()
    return value2
    End Function
    2. Design the tablix like below:
    3. The result looks like below:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Changing the value of a parameter that has been passed into an SSRS 2008 R2 report

    I support 200+ reports that all use stored procedures and have many drill downs with built in URLs.
    I want to do the below to avoid creating a brand new parameter that I will have to add to literally hundreds of places.
    We have what I'll call Param1 that receives a value from the user.  That Param1 is passed to the stored procedure(s) for the report and also embedded in any Action URLs for drill downs to other reports from that report.  All works great.
    Now I have a need to concatenate a string to whatever value they supplied which provides context for the environment in which they are running.  The reason I want to do this instead of creating a new parameter is because I need this in all my reports
    and as stated above I would have to make 100s of changes to make that happen.  If I can figure out a way to concatenate a value to the existing Param1 value I can greatly reduce the number of changes.
    I can't seem to be able to find a way to modify the value on an existing parameter that is passed into the report prior to report execution.
    I get an error when I simply try to concatenate something to the parameter in its Default property.
    I can't find a way to update a parameter value in the Report Code block.  There don't appear to be any methods available on the Parameter Collection to set the value of a parameter.
    Any ideas?
    Thanks!
    Nathan 

    Create a new parameter. Mark it internal, set it's value by expression to:
    =User!UserId+"MyNewValue"
    and pass it to the proc?
    Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.

Maybe you are looking for

  • Problem in working with Japanese data

    Hello, We have an application, which should work for both English and Japanese languages. Our application is working fine for English data but in case of Japanese, we are facing problems. In the application, there is a language setting, where the use

  • Change the black background in white

    Hi, is there a way to change the black background of the kuler interface? I need it white because I'm working on a white paper design project. Thanks :-)

  • Web page browsing speed drastically slowing down

    I purchased a 13 inch mac book pro in December. Since day one, I have had a problem with my web page browsing speed drastically slowing down. These crippling slow down periods are completely random. They can start any time, and last from any amount o

  • Problem when executing the same subVI in parallel.

    Hey! I have created a subVI that I am using in two applications that executes in parallel. For some reason the applications is using the same instance of the subVI, which creates conflicts when the applications are trying to use the same subVI at the

  • Facebook and "Garden of Time" gifts that I can't send to my friends

    I have just switched to Firefox and having trouble with the game "Garden of Time", on facebook. I can't send gifts or send "help" details to my friends. Games also run slower or take a very long time to get to one page to the next. What can I do?