How to open a ssrs query base report in form button?
*This post is locked for comments
How to open a ssrs query base report in form button?
*This post is locked for comments
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
Thanks Lhamo
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
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!
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
André Arnaud de Cal...
292,468
Super User 2025 Season 1
Martin Dráb
231,289
Most Valuable Professional
nmaenpaa
101,156