No, that'll list the images that DO exist.  You need to remove the
CFELSE tag in there.

cheers,
barneyb

On Fri, 6 Aug 2004 16:43:18 -0500, Donna French
<[EMAIL PROTECTED]> wrote:
> 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
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to