This content has been marked as final. Show 3 replies
You need a cfcontent tag.
have tried that as well and it still only goes as far as the first record.....
this is something that goes back as far as 2003
see link below
You could probably generate the content of the end file separately, before including it in the final file to be accessed by the user.
You could do this using CFSAVECONTENT
<cfquery name="getprinthtml" datasource="#dsn#">
WHERE (Abstract_ID IN (#url.abslist#))
<cfinclude template="/uploads/#getprinthtml.abstractDirectory#/#getprinthtml.abstractDirectory#_prin t.html">
then use theBody as a variable containing the entire contents at one time when you generate the final Word doc so it does not have to run any looping at that time.
Other than that, is there any chance the query is really only picking up one row based on the cirteria ?