Skip to main content
Inspiring
January 12, 2009
Answered

cfdocument Tag Issues

  • January 12, 2009
  • 5 replies
  • 509 views
Hello Community:

This is my issue: I am using a <cfdocument> tag to generate a report. The report is about 20 pages. Once a user saves all the data and answer the questions to be generated in the report I submit the form that sends the inspection id to the cfm file that have the report in it (cfdocument and code is in this file.) My report returns a blank screen. If I change the format to flashpaper, then it attempts to download an empty cfm file. If I remove the cfdocument tags from my code then the correct output prints on an html document. I don't know what's wrong with my cfdocuemnt tags. I am using CF8. Any setting Coldfusion Admin? Any ideas?

Thanks!
This topic has been closed for replies.
Correct answer TA-Selene
I seem to remember having a similar problem, but then used CFHEADER to force the file name that will be opened. Try this code at the top of the page that generates the document.

5 replies

Inspiring
February 2, 2009
Selene!

Thanks! This solved the problem.
Inspiring
February 2, 2009
Selene!

Thanks! This solved the problem.
Inspiring
February 2, 2009
Selene!

Thanks! This solve the problem.
Inspiring
January 16, 2009
Thanks Selene:

I will try that and will get back to you!

TA-SeleneCorrect answer
Participating Frequently
January 14, 2009
I seem to remember having a similar problem, but then used CFHEADER to force the file name that will be opened. Try this code at the top of the page that generates the document.