Hi all
I have a structure I am using StructFindKey with.
Which returns an array/Structure.
One of keys returned is Path, which is a dot separated list of the path thru
the structure to the key your looking for.
Something like: MyStruc.item1.item2.item3.item4 (find key Item4), returns
item1.item2.item3.item4
I tried: NewPath = 'MyStruc' & Path (with and without using evaluate)
couldn't get it to work.
I did get this to work:
did a replace to make path = ['item1']['item2']['item3'['item4']
NewPath = 'MyStruc' & path
<CFOUTPUT>#Evaluate(NewPath & '.lastitem')#</cfoutput>
Is there anyway to get this to work with out using Evaluate?
Hope I explained this well enough?
Thanks
Rodney
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237756
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54