Hi Dan, thank you for that example, but it doesn't help since
I don't want to update the children with the same data. Each child
has a calculated amount and the update amount is different per
child, so I can' do an
update yourtable
set this = that
where id in (#IdList#)
I would need to do more of a
update mytable
set this = that
where id = #id#
and if there were three children, I'd have to do it three
times, and if five children, five times, etc.
This would work with a loop just fine, but if there is a
split in the parent ID, say a Parent ID had two children, and each
of those had three children, how do you process one half of that
chain and do the three child updates, and any additional updates
under those child tags, and then get back up to the initial split?
Doe that make sense?
Meaning, look at my attached code.
10665 should update 11134 and 11135
11135 should update 11529 and 11530 :
which is fine, but once 11530 is updated, how do I get back
up and follow the 11134 ID down it's chain?
That's where I'm having an issue understanding how to do
this, is it even possible with Cold Fusion?