Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

SSRS report with multiple controllers and additional business logic

$
0
0

Hello,

I was wondering if there is a possibility to call same report from different menu items, and do additional logic when the report is called from second menu item.

I would like to run and existing report from another menu item so i can do some additional logic. I have a set of parameters, and two of them can change, rest is fixed. 

What I want to do is to create a contract with 2 changing parameters and set the rest that is fixed with values from original report contract. After those parameters are set, I need to pass them to controller and run the report. When i call the parmReportName and startOperation in my controller class it automatically connects my report with original Data Provider class and does the logic with my parameters. 

I would like to know how can I do some additional logic outside my DP class that is run onyl when I call the report from my second menu item (controller)? Is that even possible? 

After my DP class is run I need to get my temp table and save this to another table. How can I connect another class to a report that will do some logic after my original data provider class is finished (I need to get that data and save it to another table but only when my second menu item is clicked)?

Thank You!


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>