Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

How to display a custom Integer field with thousand separator (for Instance - 1,000,000) in a form

Posted on by 3
Hi Everyone,
 
Hope you guys are doing well.
 
I have a custom Integer field for which I also have created an Integer EDT in Purchline. I want display this field as million with thousand separator (For Instance - 1,000,000) at form level.
Can any one suggest any solution how to achieve this preferably without any coding; And if any coding involved please do mention that too.
 
Thanks in Advance!
  • Martin Dráb Profile Picture
    Martin Dráb 228,645 Most Valuable Professional on at
    How to display a custom Integer field with thousand separator (for Instance - 1,000,000) in a form
    Please answer my question: Are you saying that you want a different formatting for this one integer field than for all remaining integer fields?
     
    This is what would cause the inconsistency in user interface, because this one integer field would behave differently than every other integer field. It has nothing to do with whether you'll use code or not; the question is what behavior you want to get.
  • How to display a custom Integer field with thousand separator (for Instance - 1,000,000) in a form
    Hi Martin, 
     
    Thankyou so much for the reply.
     
    The answer suggested by you involves coding. I actually don't want add the code as even you suggested introducing such an inconsistency in UI is a good idea or not. 
    Can this be achieved through any other method like setting up the property of the EDT for my custom INT field or changing the property of my INT field at table level. Or even changing the property of the INT field control at form level.
     
    Thankyou again!
  • Martin Dráb Profile Picture
    Martin Dráb 228,645 Most Valuable Professional on at
    How to display a custom Integer field with thousand separator (for Instance - 1,000,000) in a form
    Are you saying that you want a different formatting for this one integer field than for all remaining integer fields? If so, I think you'll need to convert the number to a string in a particular format and use a string edit control (bound to a display method, for example). But I wonder whether introducing such an inconsistency in UI is a good idea.

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…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans