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 :
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

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans