Skip to Content
Author's profile photo Jason Everly

Getting main and subreport parameters as well as subreport links using the RAS .NET SDK

I had a customer ask the other day how to get parameters off of his main and subreports using the RAS SDK, which seemed easy enough.  He also was interested in getting the linked parameters off of his subreports.  Again that should be fairly easy.

After checking the SDK guide I realized that there was no islinked parameter option, which was surprising.  After writing the base code for grabbing the parameters I also found that any subreport linked parameters do not show up as parameters using the GetSubreportParameterFields method.  Strange.

I found that off of the report client documents Subreport Controller there is a method called GetSubreportLinks so I gave it a shot and viola, there was the linked parameter.

 

 

Sample code in VB.NET

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.