Ianaldo
asked on
cfdocument output problem
OK i have code that reads rows from a database from a field, i need this to output it in a pdf document, however when i do this it only outputs the second resord from the database, and not the first, third etc. if i take the cfdocument tag away and look at the infomation from the database on the page it displays no problem, just when i try output it in cfdocument it only outputs the second row from the database, here is my relevant code:
<CFQUERY NAME="getBooks" datasource="mybook">
SELECT userentry
FROM editbook
WHERE editbook = #url.id4#
</CFQUERY>
<cfoutput><cfdocument format="pdf" orientation="portrait"><cf documentit em type="header">#entries#</c fdocumenti tem></cfdo cument></c foutput>
Can anyone see where i am going wrong??
Thanks
Ian
<CFQUERY NAME="getBooks" datasource="mybook">
SELECT userentry
FROM editbook
WHERE editbook = #url.id4#
</CFQUERY>
<cfoutput><cfdocument format="pdf" orientation="portrait"><cf
Can anyone see where i am going wrong??
Thanks
Ian
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.