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 :
Microsoft Dynamics AX (Archived)

Button click and Generate fields on SSRS Report

(0) ShareShare
ReportReport
Posted on by 3,110

colorful-form.png

Please watch the above report picture, that is already we have, just adding 2 fields, which i have shown colorful in this post. On the  form design  we have button group in  Button group ->Menu Button and in Menu Button-> Simple Button on that simple Button click event. When a user click that Button(on the form) it generate above report, we are  going to just add 2  fields in the report. That fields i shown colorful for your understanding.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Fedir Kryvyi Profile Picture
    1,026 on at

    So what is your question? How to do that?

    Basically you can copy this report, do modifications that you need and call it from your menu item. There is no need to handle ButtonClick event, because you need to use MenuItemButton in this case

  • Shabir Ahmad Profile Picture
    3,110 on at

    ButtonGroup.png

    Fedir Kryvyi,

    zoom this picture, our requirement is menu button not menuitembutton. In manu button there is simple button and in simple button click event. Watch the below picture for further understanding.

  • Shabir Ahmad Profile Picture
    3,110 on at

    printwithoutlogo.png

    zoom this picture you will watch a menu button and in manu button 3 simple buttons all of the simple buttons has click events. The name of the simple button is 1 Report Export 2 Report Local 3 Report Arabic. Manu Button is  "without logo logo"

  • Suggested answer
    Fedir Kryvyi Profile Picture
    1,026 on at

    So what's the problem? Hide this button and create new menu item button. Also this is the tread for D365, not for AX2012.

    In case you need to do that by event handling(due to some reason), you need to call main method of Controller class that is used to run your report, or you can pack args and use MenuFunction to call menu item that calls report without actually having menu item.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans