Action="list" was added in MX. It should be in the reference for
cfcollection. (If not, add a note to livedocs.)

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : [EMAIL PROTECTED]
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Mark W. Breneman [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, August 27, 2002 2:20 PM
> To: CF-Talk
> Subject: RE: iscollection?
> 
> 
> Interesting...
> 
> What docs is that CFMX?  When I try it on my CF 5 server I 
> get "An unknown
> attribute 'name'" in the cfcollection tag.
> 
> MB
> 
> -----Original Message-----
> From: Ryan Kime [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 27, 2002 12:16 PM
> To: CF-Talk
> Subject: RE: iscollection?
> 
> 
> This is what they give in the docs for searching for a collection:
> 
> <cflock name="verity" timeout="60">
>    <cfcollection action="list" name="myCollections">
> </cflock>
> <cfquery name="qoq" dbtype="query">
> select * from myCollections
> where myCollections.name = 'myCollectionName'
> </cfquery>
> <cfdump var = #qoq#>
> 
> 
> -----Original Message-----
> From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 27, 2002 11:51 AM
> To: CF-Talk
> Subject: iscollection?
> 
> 
> Has anyone seen a way of checking to see of a collection exists?
> 
> What I am looking for could be a function called 
> iscollection(collection
> name)if it existed.
> 
> Is there a better way than evoking a search of a collection 
> and catching any
> error.
> 
> Mark W. Breneman
> -Macromedia Certified ColdFusion Developer
> -Network / Web Server Administrator
>   Vivid Media
>   [EMAIL PROTECTED]
>   www.vividmedia.com
>   608.270.9770
> 
> 
> 
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to