web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Load a form based on entered criteria

(0) ShareShare
ReportReport
Posted on by

hi

I want to know the easiest way to load a form based on entered criteria.

Lets say we have form and I want to load all records that have set "Free" to true.

1. The user must be prompt with a popup window to choose the criteria.

2. The form must be loaded based on the criteria the user has entered.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Iulian Cordobin Profile Picture
    8,201 on at

    The second part of the question is simple. Just place a range on the DataSource containing your field (you can do this in the Init() method of the DataSource, after super(), or in the ExecuteQuery() of the DS before super(), or in the Init() method of the form, after super()) and set its value to your value.

    The first part could allow multiple answers depending on what you are actually looking for. You could build a dialog in a class and after that start your form (do this as simple as you can, probably in the main() method of the class).

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans