I want to fill a collection for a navigation menu like this:
ClearCollect(colMenu;Table(
{
MenuLabel: "Menu1";
MenuIcon: Icon.Menu1;
MenuScreenNavigate: Screen1;
MenuID: 1;SubMenu: Table()
};
{
MenuLabel: "Menu2";
MenuIcon: Icon.Menu2;
MenuScreenNavigate: Screen2;
MenuID: 2;SubMenu: Table()
};
{
MenuLabel: "Menu3";
MenuIcon: Icon.Menu3;
MenuScreenNavigate: Screen3;
MenuID: 3;SubMenu: Table()
}
))
How would I replace the table with a connected SQL Server view and keep the navigation working?
I replaced the above with
ClearCollect(colMenu;v_Menu)
where v_Menu has the same fields as the table above. The collection is created and the navigation is displayed but the buttons don't work any more and no icons are shown. Also, how would I include the subtables for the submenu using sql?

Report
All responses (
Answers (