Yes, StruckFindKey returns a value, but in my case the value is a structure.
Example:

[MyStruct]
 [ProjectA]
   --[Task1]
   ----[Task1.1]
   ----[Task1.2]
   ----[Task1.3]
   ------totalhours
   ------totalcost
   ------costarea
   --[Task2]
   ----[Task2.1]
 [ProjectB]
  --[Task1]

All tasks(at all lvls)are structures with the keys totalhours,totalcost and
costarea.

I then have a person that has logged hours to a task.
I have to find the task and add the persons information to it.
So I am not going to the very bottom of the structure, the value at
MyStruct.ProjectA.Task1.Task1.3, would be a structure not a simple value.

I then add the persons hours/cost to the totals and add another lvl to the
structure for each person

.....
  ----[Task1.3]
  ------totalhours
  ------totalcost
  ------costarea
  ------[person1name]
  --------Person1cost
  --------Person1hours
  ------[person2name]
  --------Person2cost
  --------Person2hours

So, I guess the simple answer to your question is yes, I am getting the path
to another key(s), just below the one I found.

Rodney


-----Original Message-----
From: Denny Valliant [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 15, 2006 3:45 PM
To: CF-Talk
Subject: Re: StructFindKey Path and evaluate


Most likely I missed something, because doesn't structFindKey return a value
as well as the path to the key? Unless you're talking about getting the
"path" to another key, not the one you just found.?

XPath only works with XML documents, neh? Hmm... must need more coffee...
missing something obvious, feels I... :d



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237916
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

Reply via email to