structFind() returns the value for a specified key, it doesn't search for a specified value. There is a structFindValue() function which I believe works recursively but I'm not sure. In 11 years of CF development I've never used this function.
On 6/1/06, Mike Klostermeyer <[EMAIL PROTECTED]> wrote: > > "and 2) more importantly, a great deal of the time an array doesn't just > contain simple values, but rather contains other arrays, CFC instances, > queries, etc. In a large number of cases a simple arrayFind() wouldn't > work > anyway, and a custom function would have to be written anyway." > > > The same could be said for a structure, yet there is a StructFind() > function. > > Mike > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241914 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

