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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

query range start with 21000

(0) ShareShare
ReportReport
Posted on by 110

Hello,

how can i filter form data source all customer start with 21000.

how can i write expression on query range custAccountNum start with 2100 in AOT query object.

BR

Ahmed

 

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi MAKDAX2012_Ahmed,

    For all customers starting with "2100', have you tried the expression "2100*"?

  • Blue Wang Profile Picture
    on at

    Hi Ahmed,

    If you use query range expression or select statement ,please check this blog:

    community.dynamics.com/.../using-not-like-in-x-select-statements-and-query-ranges

    Another way is to use SysQuery::valueLike()

    01641.PNG

  • MAKDAX2012_Ahmed Profile Picture
    110 on at

    Thanks but i want to use query expression in AOT query range

    pastedimage1610088380287v1.png

  • MAKDAX2012_Ahmed Profile Picture
    110 on at

    i have tried but i did not work

    pastedimage1610088437730v1.png

  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    You want 2100 followed by any number of characters (for which you can use * wildcard), therefore the value should be 2100* (not "2100*"?).

  • MAKDAX2012_Ahmed Profile Picture
    110 on at

    i am using query in Display menu to open filtered form like past worker in HRM module 

    pastedimage1610088753267v1.png

  • MAKDAX2012_Ahmed Profile Picture
    110 on at

    i want result like this

    pastedimage1610089713974v1.png

     Bur when i use AOT query range 2100*  with display menu i get this type of result.

    the result  is 

    pastedimage1610089985790v2.png

    and also get error

    Error executing code: FormRun object does not have method 'okPressed'.

    Stack trace

    (C)\Classes\FormRun\okPressed
    (C)\Classes\QueryRun\prompt
    (C)\Classes\QueryRun\run

  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Please try "21000*".

    By the, way, the query you use in the first screenshot isn't what you asked for. You wanted values starting with 21000, but your filter will return values containing 21000.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=new+holland+methodist+church%2C+lincolnshire+%7C+lincolnshire+%7C++filetype%3Axls" - Nested quantifier +.