How to open a ssrs query base report in form button?
*This post is locked for comments
Hi!!
you need creat a MenuItem type output. The output Objetctype = "SSRSReport" and Objet = "Name of report", later drag the output from your form and ready.
bye
technet.microsoft.com/.../Cc606402.aspx
Please follow the link above first to create menu item(output) for report.
Once that's done> go to your form>expand your form to Designs node> under Design>ActionPane:ActionPaneHeader>ActionPane Tab>Create a Button Group> in the button group, right click and select MenuItemButton to create a "button"(you will click on this button to open up report) on the form> on this menu item's propertie's> specify MenuItemType as Output >MenuItemName as "whatever name you gave it when you first created it"(hint: name of output menuitem)> go to the form and click on the button you just created to open it.
Hope this helps!
Thank You Roberto i have already done this but what i need i just need to create separate button and call a report on button click. i don't want to create menu item
Thanks Lhamo
Hi.I use the code:
/////////////////////////////////////////////////////////
MenuFunction menuFunction;
menuFunction = new MenuFunction(menuItemOutputStr(MyOutputMenuItem), MenuItemType::Output);
menuFunction.run();
REFERENCE WITH EXAMPLES: devexpp.blogspot.mx/.../execute-menu-items-through-code.html
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 Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 4
Guy Terry 2 Moderator
Nayyar Siddiqi 2