Problem solved (very quickly) - it seems that notwithstanding the examples I
saw you need to wrap the whole thing in CFOUPUT


++++++++++
Kevin Parker
m: 0418 815 527
++++++++++


-----Original Message-----
From: Kevin Parker [mailto:tras...@internode.on.net] 
Sent: Wednesday, 31 March 2010 8:02 PM
To: cf-talk
Subject: CFDOCUMENT grief


Can anyone tell me what I'm missing here if anything please - trawled the
help etc etc

I am using CFDOCUMENT (on a CF8 server) in an app to output a recipe record
to a PDF file. Trouble is only the code between the CFOUTPUT tags is
appearing in the PDF (also tried Flashpaper - same result).

I'm not specifying any file parameters so it's being output straight to the
browser (IE8 in this case) - the browser loads a PDF file (and Flashpaper if
selected) but as I said it only shows the content between the CFOUTPUT tags.



<cfquery some query stuff>

........

</cfquery>


<cfdocument format="PDF">
    <table>
        <tr>
            <td>Title</td>
            <td><cfoutput>#get_Recipe.title#</cfoutput></td>
        </tr>

        etc.................
       

    </table>
</cfdocument>

TIA!!!!!


++++++++++
Kevin Parker
m: 0418 815 527
++++++++++





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332483
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to