Skip to main content

Notifications

Microsoft Dynamics AX forum
Answered

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”:

 

  • 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!

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,682 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,000 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans