Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Populate Combo box

(0) ShareShare
ReportReport
Posted on by

Hi! 

It's my first time to use combo box, just  want to ask how to add value or how to populate combo box in ax 2012.

Thank you. 

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Populate Combo box

    Hi Martin.

    it should be in a single pricebond field.  this price bond will indicate the price range of a specific item. example item 0000001 has a price bond between  1000 (MinValue) - 1999(MaxValue)

  • Martin Dráb Profile Picture
    233,352 Most Valuable Professional on at
    RE: Populate Combo box

    How do you intend to show two fields, MinValue and MaxValue, in a single Price Band field? How should it work? What's the point of doing that?

  • Community Member Profile Picture
    on at
    RE: Populate Combo box

    Hi Martin.

    I want to show both. MinValue and MaxValue

  • Martin Dráb Profile Picture
    233,352 Most Valuable Professional on at
    RE: Populate Combo box

    You showed this picture before, but it doesn't answer my question. You have two values here - what do you want to put into the single Price Band field? MinValue? MaxValue? Both concatenated? Something else (such as the BandID I suggested)? Alternatively you can address the problem by using two fields instead of thengle Price Band field.

  • Community Member Profile Picture
    on at
    RE: Populate Combo box

    Hi Martin.

    i want to add this in my combo box. my table name is worx_pricebond. i just also created it. 

    2335.Untitled.png

  • Martin Dráb Profile Picture
    233,352 Most Valuable Professional on at
    RE: Populate Combo box

    That's a lookup in AX terminology.

    Which value do you want to put to your Price Band field on left? It seems to me that you should create a new field in your table, such as BandId.

  • Community Member Profile Picture
    on at
    RE: Populate Combo box

    Hi Sir Martin

    The first image is my combo box, the second image is the values i want to display in my combo box. With this, what is the best way to populate it?

    combobox.png 

  • Martin Dráb Profile Picture
    233,352 Most Valuable Professional on at
    RE: Populate Combo box

    It seems that you mean a lookup form, such as when you're picking a customer when creating orders.

    They're usually generated by AX according to table relations, although you can also create them by yourself if you need some special logic. Search for "lookup" to find more information.

  • Community Member Profile Picture
    on at
    RE: Populate Combo box

    Hi Sir Ievgen

    i already created enum. where will i used it? im planing to use EDT.

  • Mea_ Profile Picture
    60,278 on at
    RE: Populate Combo box AX 2012

    Hey Mari Eru,

    So did you try to create new enum, add values you need to it and than create new filed based on this enum ?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans