Where or what needs to be done to force a menu item to be active.
I have two menu tabs that display and they are linked to the same table.
One is for the list ONLY when there is a master record. And the other is to display the entire list.
I have everything working perfectly except.
MenuItem 2 is the menu for the list with masterdetails.
MenuItem 3 is the menu for the whole list.
If I click menuitem 3 it perfectly displays the list, with the tab highlighted properly.
If I click on the view button on one of the records, when I click back to list it returns me to the correct list BUT
menuitem 2 is the active highlighted tab.
I would like to say if NO $_SESSION["item_mastertable"] then keep menuitem 3 active and highlighted.
Is there a value I can set in the Modify menu event to force menutitem 3 to be active and thus highlighted?
Is this possible.