Crystal Reports  

Custom Function Syntax Rules

Due to the independent nature of custom functions, there are some limitations:

These restrictions are designed to make custom functions independent of the report they are being used in.

Variables

You can use local variables and argument variables in custom functions. If you need to use a shared or global variable in your custom function, you can pass it in as an argument.

See Also

Creating Custom Functions | Basic Syntax for Custom Functions | Crystal Syntax for Custom Functions