locked
Problem exporting custom CRM report to PDF RRS feed

  • Question

  • I have created a custom invoice report in Visual Studio. The report contains a footer which needs to display the address details which are pulled through from a CRM entity. I have used Texboxes within the report body to grab the required data, then used =ReportItems!TextBoxName.Value to reference the data inside the footer. This works when viewing the report inside the CRM report viewer, but the data isn't displayed at all in the footer when the report is exported to PDF.

    Could someone provide some insight into this?

    Wednesday, July 7, 2010 3:23 AM

Answers

  • Hi,

    Could you try to put the data in some other control at the end of the report rather than putting the data in the Page footer. Maybe in a textbox within a rectangle control, or a simple table.  Else If needed, you can create variables to store the results and then add the variable to the end of the report. 

    If Nothing works, then consider creating a subreport and embed it at the end of the report.

    Hope this helps.


    Thanks, Ranjitsingh R | http://mscrm-developer.blogspot.com/ | MS CRM Consultant
    • Proposed as answer by Ranjitsingh R Monday, August 9, 2010 5:56 AM
    • Marked as answer by Jim Glass Jr Monday, August 9, 2010 3:00 PM
    Monday, August 9, 2010 5:56 AM

All replies

  • Hi,

    Could you try to put the data in some other control at the end of the report rather than putting the data in the Page footer. Maybe in a textbox within a rectangle control, or a simple table.  Else If needed, you can create variables to store the results and then add the variable to the end of the report. 

    If Nothing works, then consider creating a subreport and embed it at the end of the report.

    Hope this helps.


    Thanks, Ranjitsingh R | http://mscrm-developer.blogspot.com/ | MS CRM Consultant
    • Proposed as answer by Ranjitsingh R Monday, August 9, 2010 5:56 AM
    • Marked as answer by Jim Glass Jr Monday, August 9, 2010 3:00 PM
    Monday, August 9, 2010 5:56 AM
  • Hi,

     

    Just check it that it exported in excel or not

    if it not displayed

    then move the filed into a table

    Monday, August 9, 2010 8:12 AM