Notifications
Announcements
No record found.
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
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?
Thanks for your reply,
Please check the screen print
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?
I have idea of UI builder classes but this report is run from form and this is form not report parameters
Best regards,
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"?".
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.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 669 Super User 2025 Season 2
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 384 Most Valuable Professional