"NEW" record link in menu

Hello,
I have a form (single record) that i can call from a grid to insert a new record in a table.
I would have a direct link in my app menu that will open the form in “insert” mode, but if I link it to menu, it will show the first record of the table…

Thanks,
Luca

On_execute of men?, detect the men? you clicked, and do an sc_apl_conf for insert mode before the redirection

Did:

if ({sc_menu_item} == "item_22")
{
sc_apl_conf("app_form_pratiche_single", "start", "new");
}

It is working, so thanks for the input!

Luca

Sorry to not be more specific. “Holidays”. Last weeks I Connect from mobile and is difficult to provide sample code.

Glad to see it working :wink:

Nevermind: usually an hint is enough, that’s how forums should work in my mind. Community should provide hints and dorections, not full training :wink: