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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Modified Value of a query after initQuery In dynamics

(0) ShareShare
ReportReport
Posted on by

Hello,

I have created a form whith selectable value and with a query. I have to do that :
when I click "yes" on a value in the form (not in the query), I have to force a range of my query.

Is it possible to do that ?

Thanks.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Amir Nazim Profile Picture
    5,994 on at

    i think your question is not clear, can you explain more here ? you mean with the query is AOT query or form datasource query ?

    what i understand is you need to add a range on some selection, if this is then it is possible.

    if you are talking about the form data source query then

    if (your condition)

    formdatasource_ds.quer().datasourceName('name').addRange().value();

    if it is your aot query then you can do

    1 add your range to aot query only pass the value in that when your condition meet on the form.

  • Hatice Yaldiz Profile Picture
    on at

    Hello,

    Thanks for your help. The query is in a classe. It created by code in the method initquery.

    Do you think is it possible ?

    thanks

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Volodya Profile Picture

Volodya 2

#2
tgudwanski Profile Picture

tgudwanski 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans