<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: CR 2017 Subreport Error in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410321#M4645467</link>
    <description>&lt;P&gt;Yes the report is already imbedded in the main report. I changed the code to pass the name of the sub report, but I still get the error.&lt;/P&gt;&lt;P&gt;.OpenSubreport("feeticket.adj")&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1952450-sub-report.jpg" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 18:06:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2021-06-30T18:06:48Z</dc:date>
    <item>
      <title>CR 2017 Subreport Error</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaq-p/12410318</link>
      <description>&lt;P&gt;Getting error "Invalid report file path" when setting OpenSubreport property. Path is correct. Other reports open up fine. Is there a better way to set this property?&lt;/P&gt;
  &lt;P&gt;oReportFile.Load(sRptFilename) &lt;/P&gt;
  &lt;P&gt; RptFormulaFieldDefinitions = oReportFile.DataDefinition.FormulaFields&lt;/P&gt;
  &lt;P&gt; oReportFile.SetDataSource(ReportData) &lt;/P&gt;
  &lt;P&gt; frmReportViewer.CRViewer.ReportSource = oReportFile &lt;/P&gt;
  &lt;P&gt; If sRptFileCopy &amp;lt;&amp;gt; "" Then &lt;/P&gt;
  &lt;P&gt; oReportFileCopy.Load(sRptFileCopy) &lt;/P&gt;
  &lt;P&gt; RptFormulaFieldDefinitionsCopy = oReportFileCopy.DataDefinition.FormulaFields &lt;/P&gt;
  &lt;P&gt; End If &lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; oReportFileSub.OpenSubreport(sSubReportPath) c:\reports\Feeticket.rpt&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt; oReportFileSub.SetDataSource(ReportDataSub)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaq-p/12410318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-06-30T17:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: CR 2017 Subreport Error</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410319#M4645465</link>
      <description>&lt;P&gt;I updated the tag on your question.  The "SAP Crystal Reports" tag is for report design questions.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410319#M4645465</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2021-06-30T17:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: CR 2017 Subreport Error</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410320#M4645466</link>
      <description>&lt;P&gt;Is the subreport already embedded in the main report?  If so you need to open the subreport based on its name in the main report - not based on the file name of the report you imported.&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410320#M4645466</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2021-06-30T17:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: CR 2017 Subreport Error</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410321#M4645467</link>
      <description>&lt;P&gt;Yes the report is already imbedded in the main report. I changed the code to pass the name of the sub report, but I still get the error.&lt;/P&gt;&lt;P&gt;.OpenSubreport("feeticket.adj")&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1952450-sub-report.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 18:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410321#M4645467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2021-06-30T18:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: CR 2017 Subreport Error</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410322#M4645468</link>
      <description>&lt;P&gt;See my Parameter sample app, it has code on how to open subreports:&lt;/P&gt;&lt;H4&gt;&lt;A href="https://blogs.sap.com/2016/02/17/how-to-parameters-in-crystal-reports-for-visual-studio-net/"&gt;how-to-parameters-in-crystal-reports-for-visual-studio-net&lt;/A&gt;&lt;/H4&gt;&lt;P&gt;And upgrade to SP 30:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads" target="test_blank"&gt;https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To help with your upgrade:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2020/10/30/upgrading-a-visual-studio-2008-2019-.net-project-with-the-latest-cr-.net-sdk-packages/" target="test_blank"&gt;https://blogs.sap.com/2020/10/30/upgrading-a-visual-studio-2008-2019-.net-project-with-the-latest-cr-.net-sdk-packages/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 13:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-2017-subreport-error/qaa-p/12410322#M4645468</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2021-07-06T13:40:42Z</dc:date>
    </item>
  </channel>
</rss>

