Symptom
- Error in formula when refreshing report in Crystal Reports.
- After migrating reports developed in older version of Crystal Reports, an error message is displayed as:
"Exception in formula '{@Formula name}' at 'StoreStringVar': UFL 'u25store.dll' that implements this function is missing."
Environment
- SAP Crystal Reports 2013
- SAP Crystal Reports 2016
- SAP Crystal Reports 2020
Reproducing the Issue
- Create a report in Crystal Reports 8.5 with a formula with name @myFormula
- Write the following code in formula @myFormula:
StoreStringVar('var_name','var_value');
- Migrate the report to a newer version of Crystal Reports.
- It will then generate the error.
Cause
- The functions StoreStringVar, StoreNumberVar are implemented in the User Function Library (UFL) u25store.dll, and it is not distributed with Crystal Reports.
- A User Function Library (UFL) is a way to add additional functions in Crystal Reports. This UFL was created for Crystal Reports 5 and 6 to be able to share data between subreport and main report. ( Subreport were added in Crystal Reports 5 )
- In Crystal Reports 7, shared variable was added to the core product to be able to share values between the main report and the subreport, therefore no external UFL like: u25store.dll is required to share values with a subreport or main report.
Resolution
- Uses Shared Variable to share values between the main report and subreport.
- For example, in the formula @test, replace the code from:
StoreStringVar('var_name','var_value')
To
Shared Stringvar var_name := "var_value";
Keywords
UFL that implements this function is missing, u25store.dll, u25store. , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem
Product
SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020