Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Filter the value in the form in AX 2012

(0) ShareShare
ReportReport
Posted on by 511

Hi,

Greetings

I have a form below in Ax 2012

When the user clicks on the Add button to add the machine the below form(sub form) should filter automatically based on the part added

How can i filetr the grid?

Example

pastedimage1626793148260v1.png

  • Suggested answer
    ergun sahin Profile Picture
    8,816 Moderator on at
    RE: Filter the value in the form in AX 2012

    If you have two tables and you always want the second table to be filtered, you can define a relationship between the two tables. In this case, since there will be a header/line relationship between the two tables/grids (depending on the join in the form datasource as well), you will only see the line records of the header you are on.

    As you said in your question, if you want it to be filtered only when you press the add button, you should apply range to the second table. If you search "AddRange" on AOT/Forms, you will find many examples

  • Suggested answer
    Xusheng Profile Picture
    on at
    RE: Filter the value in the form in AX 2012

    Hi,

    Is this in excel?

    If happen on AX, maybe you need do customization for it.

  • Martin Dráb Profile Picture
    231,939 Most Valuable Professional on at
    RE: Filter the value in the form in AX 2012

    Can you show us the design of your form please? What does the button do? What exactly do you mean by "sub form"?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,274 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,939 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans