Skip to main content

Notifications

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!
  • Verified answer
    YUN ZHU Profile Picture
    84,682 Super User 2025 Season 1 on at
    Ampersand (&) symbol in caption names, group names etc.
    Hi, This is not only the case in BC, for example,
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    17,404 Super User 2025 Season 1 on at
    Ampersand (&) symbol in caption names, group names etc.

    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."
  • kayc529 Profile Picture
    53 on at
    Ampersand (&) symbol in caption names, group names etc.
    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!
  • Khushbu Rajvi. Profile Picture
    17,404 Super User 2025 Season 1 on at
    Ampersand (&) symbol in caption names, group names etc.

    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.


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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans