History: In my online application, users view records from a MS Access database - these records have .pdf attachments associated with them. I have the .pdf file displayed (via iframe) along with the record set, all showing on one web page. It works great.
Now, I've created a button which the user will click to see a printable version of the record set they are interested in printing. It's important to have the .pdf file print together with the record set, however the code breaks when I add iframe. Is it not possible to have iframe within the cfdocument tags? I've searched on Google and on EE and haven't found anything definitive. Maybe I'm not searching with the right words.
Hopefully that makes sense. I've pasted the code below:
<cfdocument format="pdf" backgroundvisible="no" orientation="portrait" pagetype="letter">
<!--- Display record set --->
<table align="center" width="90%" border="1" cellspacing="0" cellpadding="10" bordercolor="#000000">
RCN#rcnChangeNum# DATE: #dateFormat(rcnDate, "mm/dd/yyyy")#<br><br>
<cfif qGetAttach.recordCount GT 0>
<iframe src ="#location#/#qGetAttach.fileName#" scrolling="yes" height="1200" width="1000"></iframe>