A Dynamic Link Library (DLL) named CrowsNest.Reporting.dll is provided which has some functions used to extend the reporting functionality in MS Report Builder.

The library is included in the installation directory where Crows Nest is installed (typically C:\Program Files (x86)\Crows Nest).

To preview reports that use the library from within Report Builder, you’ll need to copy the DLL file into the installation directory for Report Builder (typically C:\Program Files (x86)\Microsoft Report Builder)

To utilize the functions, open a report in Report Builder and follow the steps below:

Add a Reference to the library

  1. Open Report Properties

  2. Select References

  3. Under ‘Add or remove assemblies’ click Add

  4. On the newly added reference record click the button to browse to the CrowsNest.Reporting.dll file and click Open

  5. Click OK to close Report Properties

Add Code to the report

  1. Open Report Properties

  2. Select Code

  3. Add a Function using VB .NET syntax to call the function from the library
    Example:
    Function PadLeft(imgBytes, cellWidth, cellHeight, centered)
    Return CrowsNest.Reporting.Images.PadLeft(imgBytes, cellWidth, cellHeight, "in", centered)
    End Function

  4. Click OK to close Report Properties

Add Expression to call the Code

  1. Edit any Expression and Reference the Code
    Example:
    =Code.PadLeft(Fields!Logo.Value, 2.5, 1, True)

Available Functions

Combine the header below with the function name to reference the function in Code
Example: CrowsNest.Reporting.Strings.HTML_BulletedList

Strings

Images

Timeline