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#">
SELECT abstractDirectory
FROM Abstract_tbl
WHERE (Abstract_ID IN (#url.abslist#))
</cfquery>
<cfsavecontent variable="theBody">
<cfoutput query="getprinthtml">
<cfinclude
template="/uploads/#getprinthtml.abstractDirectory#/#getprinthtml.abstractDirectory#_print.html">
<hr>
</cfoutput>
</cfsavecontent>
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 ?