Hmm, from what I see in the doc, I still think it expects a struct for the
top level variable:
StructFindValue searches recursively through an arbitrarily complex
sub-structure of nested arrays, structures, and other elements and returns
an array containing any structures with values that match the key specified
in the Key parameter.
StructFindValue(Top, Key [, Scope])
I have to admit - this is a bit vague.
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Spike [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 05, 2001 1:35 PM
> To: Spectra-Talk
> Subject: StructFindValue function
>
>
> Hi all,
>
> According to the docs I should be able to pass an array as the
> top element
> to this function. When I try it I get an error saying it could
> not convert
> the specified item to a structure.
>
> Has anyone managed to get it to work with an array?
>
> spike
>
>
> Stephen Milligan
> Internet Developer and Allaire training guru
> Tel: +34 686 021171
> ICQ: 15831735
> Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> "A good developer is the type of person who looks both ways on an one way
> street!"
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.