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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to make the filter option available

(0) ShareShare
ReportReport
Posted on by 139

Hello and good day to you all, I would like to ask, is it possible to add a filter options in the following image I have provided to my custom search bar?

SEARCH2.png

Here is the form I made, it can only search for 1 item only, what I wish to do is to be able to select different items by using the filter options like *!<>.

5482.SCREEN3.png

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rustem Galiamov Profile Picture
    8,072 on at
    RE: How to make the filter option available

    Try to use SysQuery::valueLike().

    For example: SysQuery::findOrCreateRange(InventTable_ds.query().dataSourceTable(tableNum(InventTable)),fieldNum(InventTable, ItemId)).value(queryValue(SysQuery::valueLike(yourSearchString)));

  • Sean The Michael Profile Picture
    139 on at
    RE: How to make the filter option available

    I would like to rephrase my question sir, this is the real problem I am having right now. My search query can only search for 1 specific item, but I am required to allow filtering which allows my query to select multiple items at once, which means I will need to use the LIKE SQL statement In X++. which is using the *,<,> characters to multi-search. Is there any guide on how to do this? Thank you again for replying to my post and sorry for the very confusing question.

  • Suggested answer
    Rustem Galiamov Profile Picture
    8,072 on at
    RE: How to make the filter option available

    Hi Sean The Michael!

    You can create your own context menu and call it from your custom search bar using right click.

    Take a look at tutorial_PopupMenu form for example.

  • Suggested answer
    Hassan_rulz Profile Picture
    3,801 on at
    RE: How to make the filter option available

    You can use filter at any form by using "CTRL+G".

    Can you please explain what you are trying to ask here?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
KP-31070522-0 Profile Picture

KP-31070522-0 3

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans