I am trying to add an SSRS Report to a dashboard. From what I have seen the best way to do this is via code. I made a button with an onClick event and I am just testing opening forms with it but nothing works.
LaunchFormOptions launchObject = new LaunchFormOptions();
launchObject.ValueIn = "XEN100";
ProcessCaller.LaunchForm(oTrans, "CSWG1030", launchObject);
This is the code I was using and a lot of code for opening forms looks like this. The one main problem I keep running into is I get the error “The name ‘oTrans’ does not exist in the current context”
I have also tried this.oTrans and it doesn’t like the keyword “this”
What is an oTrans and why does everyone online act like it is just something that works automatically? Am I missing a using statement?