This content has been marked as final. Show 1 reply
What we did was create a Report Portlet with the exact same query, then put a Omiportlet on the screen to call the report. The Calling portlet would look something like:
select '<TH class="PortletHeading1" NOWRAP align="left">Export Line Haul Trailer Details:</TH><TD><img src="/images/masterease/export_to_excel.jpg" alt="Export to Microsoft Excel" title="Export to Microsoft Excel" border=0></TD>' excel_export
You can pass the parameters of the page into this portlet which in turn you can pass to the report.