Chris, I once had a pretty weird issue with dynamically created struct keys that had invisible whitespace-type special chars at the beginning/end of the string and had similar error messages. Have you tried to make sure that "KEY" (I assume that would be a variable) is trimmed and use the result of trim() as the key?
Cheers Kai > >In the following code:- > > <cfif StructKeyExists(pStruct,"KEY") is true> > <trace text="KEY found"> > <cfset lvKEY = StructFind(pStruct,"KEY")> > >the StructFind function generates the error:- > > message=Cannot find key KEY in struct. > detail=The specified key, KEY, does not exist in the structure. > >Yet the StructKeyExists function says it exists. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---