Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Multi-select lookup Dynamics AX 2012

Posted on by Microsoft Employee

Multi-select lookup Microsoft Dynamics AX 2012

Normally a lookup allows only one option, but a multi-select once allows one or more options.  Here we are going to show you how to do it with only one command.

First, we have to create a physical query; in this case called “AND_Consult”:

To generate this query we will base in a table, for this example called “AND_TestMult”:

4314.2.png

2402.3.png

Now, we need the field that we will filter, in this case called “Name”:

5340.4.png

After that, we will create a form called “Lookup”:

5582.5.png

In this form we add a single code to make the multi-select lookup:

2235.6.png

Finally, this is the multi-select lookup:

2480.7.png

And there are the multi-selected names.

We have demonstrated that we can improve our AX 2012 programming using a single command.

 Normally a lookup allows only one option, but a multi-select once allows one or more options.  Here we are going to show you how to do it with only one command.

First, we have to create a physical query; in this case called “AND_Consult”:

 

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Multi-select lookup Dynamics AX 2012

    enjoy mi post-blog

  • Verified answer
    CrazyFear Profile Picture
    CrazyFear 50 on at
    RE: Multi-select lookup Dynamics AX 2012

    Nice pice of code man! thanks!

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans