> Ok read the book altered code etc still can't fatham why I 
> can't see the report...?

You didn't use the code I posted - you need to give fileexists() an Absolute
filepath

use this:

<cfif
FileExists(expandpath("reports/#get_years.date_year#/#phase#/#pathName#/#url
.school#/fileName##docType#")>

this assumes that reports is a subdirectory of the directory in which this
template is running.

if not, you'll need to edit the path like thus (for example)

<cfif
FileExists(expandpath("../reports/#get_years.date_year#/#phase#/#pathName#/#
url.school#/fileName##docType#")>


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to