Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

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

Posted on by 31
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!
Categories:
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 2,325 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
    kayc529 31 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
    Khushbu Rajvi. 2,325 on at
    Ampersand (&) symbol in caption names, group names etc.

    .


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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,572 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,792 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans