web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Ampersand (&) symbol in caption names, group names etc.

(1) ShareShare
ReportReport
Posted on by 53
Hi community! I am still very new to AL and Business Central. When I was studying the codes from the base application, I came across a lot of caption and group names with the ampersand (&) symbol:
 
 
What does that even mean?????? What would happen if & is not included?
 
Thank you!
I have the same question (0)
  • Khushbu Rajvi. Profile Picture
    23,130 Super User 2026 Season 1 on at

    The ampersand (&) symbol in captions and group names within Business Central (AL code) is used to define keyboard shortcuts or access keys for specific controls, fields, or actions. When a caption includes an & before a character, it allows users to press Alt + that character as a shortcut to quickly navigate to or activate the associated control.
    For example, if you define a caption as "&Name", the "N" in "Name" will be underlined, indicating that pressing Alt + N can activate that control.
    If the & symbol is not included, no keyboard shortcut will be assigned, and users won't see the underlined character for quick access to that field or action. It doesn’t affect functionality but might reduce accessibility and efficiency for users who rely on keyboard shortcuts.


  • kayc529 Profile Picture
    53 on at
    Thanks Khushbu for the reply.
     
    I tried the keyboard shortcuts/assess keys just now in the Customer List page.
    In the codes, they didn't put the '&' symbol in the action DimensionSingle but I was still able to see a shortcut key for that action:
     
     
     
    And what's the difference between adding '&' to the caption and having the ShortCutKey property?
     
    One more thing I don't understand is the position of the '&' symbol in the string. Does its position have a meaning?
    e.g. &Customer and C&ontact and Co&mment
     
    This is very confusing. Is there a documentation where I can learn more about this?
     
    Thanks!
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    23,130 Super User 2026 Season 1 on at

    Sorry for the inconvenience; I was writing code in another language, which is why.
    By the way, regarding your question, I don’t think there is any specific meaning for the & in AL code. However, in the system, they generally use & in different places. I have never use & in code.
    For shortcuts, you can use the ShortcutKey property in Business Central."
  • Verified answer
    YUN ZHU Profile Picture
    102,361 Super User 2026 Season 1 on at
    Hi, This is not only the case in BC, for example,
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 677 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 447 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 366 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans