I have tried to run the query like this.
<cfquery name="QUnprintedPIs"
datasource="FleetmaxTitles">
SELECT
FROM
WHERE
</cfquery>
<cfloop query="">
<cfquery name="UpdateInfo" datasource="">
INSERT INTO
VALUES(,,)
</cfquery>
</cfloop>
<cfreport format="PDF"
template=".cfr"></cfreport>
This is how it is set up now, the insert is working fine, but
since the report is running after the query, it outputs null.
If I put the report before the query, it runs the reportbut
wont run the query.
Thanks