Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

disable parameters on the basis of another parameters in parameters group Report

(0) ShareShare
ReportReport
Posted on by 3,090

Hi Experts,

I have a report that report is run from form. As the user click on the report in module it opens a form on that form i have two kind of Dates Hijri and Gregorian Date. I user select Hijri date the Gregorian date become disable if the user select Gregorian date the hijri date become disable on the parameters form of the report.Help.

Best Regards,

Shabir Ahmad

  • Shabir Ahmad Profile Picture
    3,090 on at
    RE: disable parameters on the basis of another parameters in parameters group Report

    This report is already developed and using this form as parameters. Further, this form is converting automatically from one format to another format dates. I have a small different requirement as well and for that i am making a new thread.

  • Verified answer
    Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: disable parameters on the basis of another parameters in parameters group Report

    Hmm, I don't know why you prefer creating a form, but all right. No problem. I'll assume that your controls are unbound. Set their Auto Declaration property to Yes and then pass false to their enabled() method. For example:

    StartDateGregorian.enabled(false);

    By the way, you forgot to answer my question "What exactlly do you mean by "to select these fields"?".

  • Shabir Ahmad Profile Picture
    3,090 on at
    RE: disable parameters on the basis of another parameters in parameters group Report

    I have idea of UI builder classes but this report is run from form and this is form not report parameters

    Best regards,

    Shabir Ahmad

  • Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: disable parameters on the basis of another parameters in parameters group Report

    What exactlly do you mean by "to select these fields"?

    Do you have an idea about UIBuilder classes in AX 2012, or is it completely new for you?

  • Shabir Ahmad Profile Picture
    3,090 on at
    RE: disable parameters on the basis of another parameters in parameters group Report

    Dates.png

    Thanks for your reply,

    Please check the screen print

  • Martin Dráb Profile Picture
    231,760 Most Valuable Professional on at
    RE: disable parameters on the basis of another parameters in parameters group Report

    Do In understand correctly that your want to manupulate just dialog fields (and your question has nothing to do with a report)?

    What type of controls are you talkijng about? Check boxes? Dates? What do you men by "to select a date"?

    If you want used to choose between two mutually exclusive options, wouldn't a combobox or a radio button be a good choice?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans