The problem is that, in this case, I'm adding photos to a directory that will contain duplicates. I don't want to rename the files and include them, I want to avoid adding the files to the directory completely.
> -----Original Message----- > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Sent: Friday, May 16, 2008 12:06 PM > To: CF-Talk > Subject: Re: What's wrong with this query? > > >>So how do I modify the query, which now looks like this... > > This is it, a unique index will detect the error, but it will not solve it. > Checking if the file already exists will not solve the problem either. > So better make sure the file name is unique first and eliminate the > possibility of a problem. > > -- > _______________________________________ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305471 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

