Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Use update2 pattern when I have two tables parent->child
Re: Use update2 pattern when I have two tables parent->child [message #1345 is a reply to message #1342] Wed, 21 May 2008 09:29 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2347
Registered: April 2006
Location: Surrey, UK
Senior Member
An example of what you want is built into the XAMPLE system. Visit Home» PROTO» Example System» Tree Type» Tree Level» Tree Node» Child Nodes» Link Children» Choose and you will be inside a task entitled 'Choose Orphan Nodes'. This selects all nodes which currently do not have a parent (ie: parent_id is NULL).

While testing this I came across a slight bug in the code, so the file containing the fix is attached.


 
Read Message
Read Message
Read Message
Previous Topic: Multiple parent/child relations between 2 tables
Next Topic: Failing searches, caused by null-able date fields
Goto Forum:
  


Current Time: Sun Apr 28 02:27:38 EDT 2024

Total time taken to generate the page: 0.01087 seconds