Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this tutorial, you learn how to create a User Function Library that can be accessed from the Formulas Expert in the embedded Crystal Report Designer.
When developers create a Crystal report in the embedded Crystal Report Designer, they often create formula fields to use in the report. These formula fields consist of variables and functions. The embedded Crystal Report Designer comes with a large collection of existing functions.
However, in some scenarios a user may require the ability to create a customized function, in the form of a library that can be distributed across machines. The User Function Library provides this capability.
A User Function Library (UFL) is a .NET class library that has the following characteristics:
This tutorial comes with Visual Basic and C# sample code that show the completed version of the project. Follow the instructions in this tutorial to create a new project or open the sample code project to work from a completed version.
The sample code is stored in folders that are categorized by language and project type. The folder names for each sample code version are as follows:
To locate the folders that contain these samples, see Tutorials' Sample Code Directory.
Please sign in to use this experience.
Sign in