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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Filtering a grid based on a stringEdit value

(0) ShareShare
ReportReport
Posted on by 304

Hi,

I have a gird has a datasource1, I have a lot of columns in that grid but only one column (assume it's C1) it's from another table.. but it works fine and the records are linked correctly

now I have a stringEdit filed outside the gird, I choose a value for this stringEdit and it's suppose to filter the gird down by this value because it's same as C1

0486.png

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi KareemTaima,

    You can find many examples in standard how to implement this feature, for example in CustTrans there is "ShowOpen" checkbox (in string input you need to use modified method instead of clicked) and you can take a look at how it was done there.

    Please, note that field outside the grid should be not bounded to any field on data source.

  • KareemTaima Profile Picture
    304 on at

    Hi, Sergei

    for sorry I couldn't benefit from this example, any another way to help? or another example?

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi KareemTaima,

    What kind of issues do you have?

    You can check also:

    www.tech.alirazazaidi.com/.../

    MS docs docs.microsoft.com/.../how-to-add-filter-controls-to-a-simple-list-form

  • CBNestor Profile Picture
    46 on at

    Hi Sergei, (Sorry Wrong Thread. I asked again on the original)

    I almost Got it. I Named the my Lookup stringEdit as NC_ProdId

    when I call this object in the ExcecuteQuery() function is says the : Variable NC_ProdId has not been declared.

    what am I missing?

    pastedimage1585056801245v1.png

  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi CBNestor,

    You need to set your control Auto Declaration = Yes,  Or you need to declare it.

  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi CBNestor,

    Sorry,I didn't notice that you have released a new thread:

    community.dynamics.com/.../filter-jobregistration-grid-with-prodnumber-lookup-field-ax-2012-r3

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 622

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 553 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans