Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Custom Assembly Referencing a Report Expand / Collapse
Posted Thursday, May 9, 2013 5:58 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: 2 days ago @ 4:30 AM
Points: 34, Visits: 100
Another question, if somebody would be so kind.

I am taking my function from within a report and moving it to a custom assembly so that I can reference it from a number of different reports.

The function refers to a dataset within the report that the function is called from. I'm not concerned about the dataset not being present, as I'm developing the reports and so I know it will exist. My problem is that I don't know what reference to use in order to defined 'report'.

The function (as it was originally within a report) uses:

When I create the function in my VB class in Visual Studio Express 2012 for Windows 8, and try to build the project, I get the error:
'Report' is not declared.

What assembly should I reference for 'Report' to be a recognised object?
Post #1451057
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse