<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Report Type for pdf and Excel</title>
    <link>https://forums.adobe.com/community/coldfusion/coldfusion_reporting?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Tue, 02 Sep 2014 16:23:03 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-09-02T16:23:03Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Report Type for pdf and Excel</title>
      <link>https://forums.adobe.com/message/6694411?tstart=0#6694411</link>
      <description>&lt;!-- [DocumentBodyStart:dae0f91b-14f2-48b9-bcae-77d1f6498c97] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Change &lt;strong&gt;format="PDF"&lt;/strong&gt; to &lt;strong&gt;format="#VariableName#"&lt;/strong&gt; where &lt;em&gt;VariableName&lt;/em&gt; contains the text "PDF" or "Excel".&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:dae0f91b-14f2-48b9-bcae-77d1f6498c97] --&gt;&lt;img src='/beacon?t=1415918206838' /&gt;</description>
      <pubDate>Tue, 02 Sep 2014 16:23:03 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6694411?tstart=0#6694411</guid>
      <dc:date>2014-09-02T16:23:03Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Report Type for pdf and Excel</title>
      <link>https://forums.adobe.com/message/6675653?tstart=0#6675653</link>
      <description>&lt;!-- [DocumentBodyStart:c54094ee-c023-460f-9999-8a558ec6296d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have following code to generate the report for pdf format.&lt;/p&gt;&lt;p&gt;I would like to let users to choose report type 'pdf' or 'excel'&lt;/p&gt;&lt;p&gt;I need pass the user select from user interface to &amp;lt;cfreport format= "PDF" or "Excel".&lt;/p&gt;&lt;p&gt;Can you please advise how I can pass the user select Report Type from lsReportType to my cfReport?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Your help and information is great appreciated,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Iccsi&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;cfstoredproc procedure="spGetReportType"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;cfprocresult name="rsReportType" resultset="1"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/cfstoredproc&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &amp;lt;cfreport format = "PDF" template= "MyReport.cfr" query="#myQuery#"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/cfreport&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; &amp;lt;td&amp;gt;&amp;lt;select width="50" name="lstReportType" id="lstReportType"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfoutput query="rsReportType"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option value="#rsReportType.ReportTypeID#" &amp;lt;cfif (isDefined("form.ReportTypeID") AND form.ReportTypeID EQ rsReportType.ReportTypeID)&amp;gt;selected="selected"&amp;lt;/cfif&amp;gt;&amp;gt;#rsReportType.ReportType#&amp;lt;/option&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cfoutput&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/select&amp;gt;&amp;lt;/td&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c54094ee-c023-460f-9999-8a558ec6296d] --&gt;</description>
      <pubDate>Tue, 26 Aug 2014 18:09:36 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6675653?tstart=0#6675653</guid>
      <dc:date>2014-08-26T18:09:36Z</dc:date>
      <clearspace:dateToText>2 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

