Custom Assembly Referencing a Report

  • 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:

    Report.Parameters!Localisations.Count()

    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?

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply