Shouldn't this work to give me a list of the images that are not present
for the dolls table?

<cfquery name="listImage">
SELECT lanesID, name
FROM dolls
</cfquery>

<!--- List Missing Images --->
<b>Missing 400 images</b><br>
<cfoutput query="listImage">
<cfif NOT
FileExists("c:\inetpub\lanescollectibles\images\400\#lanesID#.jpg")>

<cfelse>
#name# - #lanesid#.jpg<br>
</cfif>
</cfoutput>

Thank you,

Donna French

-----Original Message-----
From: Greg Stewart [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 11:09 AM
To: CF-Talk
Subject: Re: FileExists sample code?

Check out livedocs:

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi79.htm#wp11
04406

Cheers
G

On Thu, 5 Aug 2004 11:07:40 -0500, Donna French
<[EMAIL PROTECTED]> wrote:
> Can someone post sample code using FileExists? I have
2 books and can't
> find a code sample in either and my online docs search
is throwing an
> error.
>
> TIA!!!
>
> Donna
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to