grandparent - parent - child link entity [message #2641] |
Thu, 30 December 2010 11:15 |
gpatti
Messages: 283 Registered: August 2008
|
Senior Member |
|
|
I have a link entity showing valid combinations of two other entities and easily code this using a LINK pattern.
However, I now want to relate that table back to itself using senior and junior relationships.
The completed relationships will give valid junior combinations, based upon valid senior combinations.
However, I can't determine if there is a pattern that will allow me to represent this within the framework. I think it needs a MULTI version of the LINK pattern.
Do you have any suggestions for this?
Thanks,
Graham
|
|
|
|
|
Re: grandparent - parent - child link entity [message #2644 is a reply to message #2643] |
Fri, 31 December 2010 12:15 |
AJM
Messages: 2367 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Are you aware that a LINK1 pattern is not the only way to maintain a one-to-many relationship? A many-to-many is actually two separate one-to-many relationships, and you can only deal with one of those relationships at a time.
The MENU system already contains examples of different patterns to maintain the same relationship:
- in 'List Task (menu)' there are 'Menu Items (1)', 'Menu Items (2)' and 'Menu Items (3)'.
- in 'List Task (process)' there are 'Nav Buttons (1)', 'Nav Buttons (2)' and 'Nav Buttons (3)'.
It is not possible to have a MULTI1 version of the LINK1 pattern as they deal with a different number of entities.
You will need to have a non-LINK1 task which maintains the contents of 'dance_figure' so that it can have navigation buttons which allow you to choose a row and jump to a task which maintains 'follow'.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
Re: grandparent - parent - child link entity [message #2645 is a reply to message #2641] |
Fri, 31 December 2010 13:06 |
gpatti
Messages: 283 Registered: August 2008
|
Senior Member |
|
|
Thanks Tony,
I've been using the system for a long time and it's only just dawned on me from your reply that I don't have to use a LINK pattern for a link table. I had never really looked at the (2) and (3) buttons for Nav and Menu. If I had I would have realised.
Thanks,
Graham
|
|
|