Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pdf file damagered

Status
Not open for further replies.

JeanneZ

Programmer
May 1, 2003
55
US
I have a problem and need help.
I created a web page using Coldfusion the report by PDF file. I have no problem at all but others have problem to open pdf file. They got "the file is damaged and cannot be repaired" message which I never had.
Here is my code:

<CFQUERY NAME="rptName" DATASOURCE="#REQUEST.spedata#">
SELECT report_id, report_name, report_desc, subdirectory
FROM spe_report
WHERE report_id = #ReportID#
</CFQUERY>
<!body ONLOAD="document.showRpt.submit();">
<body>
<FORM NAME="showRpt" METHOD="post">
<CFOUTPUT>
<CFSET SubDir = "#rptName.subdirectory#/">
<CFSET RptName = "#rptName.report_name##School#.pdf">
<CFSET URLList = "#RptDir##SubDir##RptName#">
</CFOUTPUT>
</FORM>
<CFLOCATION URL="#URLList#">
</body>
Thanks a lot for any help.
Jeanne
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top