In cases, when the layers 'master/child' and child tables are numerous, the access to the particular child table of a particular master table becomes too complicate to the users.
One way to solve this problem is to offer a possibility on the list page (button or else) to 'lock' the application on this particular master key (session variable?) and another one to return to the usual state. Then whole main menu may be used to see all the child tables related to this particular master in one layer.
May you offer a sample code for this? Or maybe other solutions are available?