<cfcollection> creates a folder for each collection, so I suppose you could 
use <cfdirectory... > to check to see if it existed.

----- Original Message ----- 
From: "Doug Hyde" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Saturday, February 05, 2005 8:07 AM
Subject: Checking for the existence of a collection?


> Other than knowing beforehand by having created manually, does anyone know
> of a way to check for the existance of a collection. Like no point running
> cfindex if the collection doesn't exist, so let's check, and if no, let's
> create with cfcollection. I need to create and index collections
> dynamically.
>
> Thanks,
>
> Doug
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193214
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to