>You could set your table up in a "modified preorder tree traversal", so
>each node has a "LFT" and "RGT" numeric value. I've done this in several
>instances and it works great. 

Hey, thanks Dov, that's lovely.

As far as I understand it so far, it does have the snag that if you make a 
change near the top of the hierachy, a whole lot of data below has to be 
updated.

Also, in this particular instance, I'm importing the category heirachy from 
another app on a daily basis which uses the other schema, so I'm probably 
looking at a long process to convert it from one schema to another during the 
import.

Ian

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

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

Reply via email to