Keyboard Shortcuts in Business Central
Ever wondered why some actions and caption on pages have an & sign? We’ll, you guessed it, that is used to add keyboard shortcuts for actions, or better worded, configure an access key!
Example
1action("&foo")
2{
3 Caption = '&Foo';
4}
By pressing Alt + F you’ll be able to trigger the foo action.
In generic terms you get this: access modifier
+ access key
to trigger an action.
Note: Ensure that no two actions or captions in the same context use the same access key, as this can cause conflicts.