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)

Button click event used for filtering: I need to use Enter rather than Tab

(0) ShareShare
ReportReport
Posted on by 575

Hey All,

   I am Having a String edit field which performs filter operation. if i am typing the letters and pressing TAB gives me the searched Result but in that i need to use ENTER

ex:  sa*

after pressing tab it display the searched result

but i need to press ENTER and it should display the result.PLS HELP ME

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    48,813 User Group Leader on at
    RE: Button click event used for filtering I NEED TO USE ENTER RATHER THAN TAB

    one possibility can be, to use task() method of form, by using taskCode of Enter Key

  • veera seenivasan Profile Picture
    575 on at
    RE: Button click event used for filtering I NEED TO USE ENTER RATHER THAN TAB

    Thanku so much for ur reply similarly i can perform single click operation in form using task method?

  • Sohaib Cheema Profile Picture
    48,813 User Group Leader on at
    RE: Button click event used for filtering I NEED TO USE ENTER RATHER THAN TAB

    no.

    task() will operate across entire form.

    e.g. whenever you will hit enter key, it will go to task() method and there inside task() method it will identify something as bellow

    if(taskNumber = EnterKeyNumber)

    {

     //do something

    }

    there is loss of doing such a customization that every time user will hit enter on keyboard processing inside of task() method will execute.

    On single control we cannot override EnterKey of keyboard. you can see what methods you are allowed to override on a form string control such as StringEdit, by right clicking methods node

  • André Arnaud de Calavon Profile Picture
    299,386 Super User 2025 Season 2 on at
    RE: Button click event used for filtering: I need to use Enter rather than Tab

    Hi Veera,

    I have altered the heading of you question to remove the capitals. Please don't use only capitals in your question title.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans