What's a UFL?
|The letters stand for User Function Library. A UFL is an add-on that helps users do things Crystal Reports can't otherwise do. They expand the power and capabilities of your Crystal Reports system.|
| If it's a User Function Library, then can't a user just write one? |
Sure. If you have the time to write and test a UFL go ahead. But for most users, that's just not a sensible option. For a small purchase price, you can get the UFL and get on with the project that needs doing. Besides, it's not quite as easy as the name implies. See the next tab for why we say that.
Getting around all of the mind-bending involved in writing a UFL, we not only offer some great UFLs but we make it easy for you to install and use them. To see what we mean, right mouse click to download and save our short guide, How to Install and Use a UFL.
UFL in Klingon
| If you don't care to learn the UFL version of Klingon, right mouse click to download and save our short guide, How to Install and Use a UFL. |
For those who really love exploring the minutae of dense instructions and have the time to do that, here's part of Business Objects' explanation of how to write a UFL:
As the final step to creating a UFL function (see Function definition), you must add code for the operation of the function you have designed. Your function must be programmed for the specific needs of your UFL. This section will examine the basics of how to obtain the parameters from the parameter block and use the values of those parameters in the implementation of the UFL function.
You begin by coding your function as follows:
ExternC UFError FAR _export PASCAL FunctionName
|Because UFLs are created in response to a need, they are typically named after the use they were written for. That's why, for example, we have a File Managment UFL instead of a UFL named by a creative marketing team that prefers something like "sizzle." Of course, if you're saving files and you hear "sizzle" it may be time to turn off your PC.|
|A given UFL tends not to have a lot of features. UFLs are simple and direct, as opposed to programs that must fight a continual features war with the competition. We'd love to be able to tell you that our File Export UFL is better than one made by a competitor (if a competitor wrote one), but that's probably not the case. Any two UFLs written for file export probably function the same. The difference, if any, would be in the amount of code written.|
How It Works
| While writing a UFL is a bit much for some users, actually using it is a breeze. Once you've installed the UFL (which, as BO notes in their instructions, is a DLL or Dynamic Link Library), Crystal Reports automatically incorporates its functions. The UFL will be listed under Additional Functions under the Functions window, which is a nice place for it when you think about where Microsoft tends to put things by contrast (making ussometimes rea-l-l-l-ly want to tell them where to put things).. |
We help make this even easier for you. Right mouse click to download and save our short guide, How to Install and Use a UFL.
| No, there really aren't any practical limits to how many UFLs you can add. While we'd love to sell you every UFL we offer, our advice instead is that you review your report process and structure against user needs and system efficiency and then determine which UFLs will help you produce reports more efficiently and/or effectively. If you don't need it, don't buy it. On the other hand, if it can help you serve your report users better or do your work more efficiently then you do need it and should buy it. |
Not everyone needs XML output, for example, but for some report administrators this ability is paramount.
| We are always looking for new UFLs. Please contact email@example.com if: |