How do I dynamically include files using CFINCLUDE within a CFLOOP statement:
This does NOT WORK:
<cfloop index="ReportName" list ="#variables.ALLReports#" delimiters = ",">
<cfif #ReportName# NEQ "">
<cfset theReport = #ReportName#&'.CFM'>
<cfinclude template="#theReport#"><br>
</cfif>
</cfloop>
Help will be appreciated.
Thanks
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

