cancel
Showing results for 
Search instead for 
Did you mean: 

UFL .Net para Crystal Reports 2020

0 Kudos
309

I am carrying out tests so that our company can migrate the reports from crystal reports 8.5 to crystal 2020, I know that the challenge is quite difficult since the data sources changed for the version of crystal 9 onwards, but for now we are focusing on how to preserve the design of the report with its formulas, the problem I have now is that the custom formulas dll that we have is not being recognized by crystal 2020, the dll was x86 and we changed it to x64 since this crystal only handles x64 version, We copy it to the path where the new crystal was installed "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64", this path was suggested by the installation, but it still does not recognize the .Net UFL.

What could she do to get him to recognize her?

View Entire Topic
DonWilliams
Active Contributor
0 Kudos

Hi Steven,

Have a look at this sample .NET UFL:

1525014 - Sample C# .NET UFL and Localization Formula function

You may need to adjust some of the settings in your project, example, set CPU to x64 and not AnyCPU.

Framework needs to be set also to 4.7 or 4.8 and CRW63.exe.config may need the framework specified.

Sample has all of the info.

Don

0 Kudos
Hello Don, thanks for responding, the version I put in the crw64.config is 4.6.2 and the UFL dll project was compiled to x64 under this framerwork, at this moment I just want to use this UFL in the crystal designer, to see its behavior . and check if some formulas change their syntax or something like that, we want to validate how crystal 2020 is working and what differences we find at least in design or in the assembly of formulas, UFL's Etc. with respect to crsytal 8.5, I am currently working on a test version , to make this comparison. I already did these steps of this KB1525014 and it still doesn't show the UFL in the crystal formulas, is there any additional settings to see it in the crystal designer?
DonWilliams
Active Contributor
0 Kudos

Did you put the UFL in this folder?

For CR Designer:

C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64

For VS:

C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64

Do you see your UFL here:

DonWilliams_0-1721834693209.png

 

0 Kudos

Hello Don, yes, my UFL is in that path, it is called CRUFLNETFormat, but I can't see it in the designer in the additional functions

steven_mv_2010_87_0-1722439531696.png

 

DonWilliams
Active Contributor
0 Kudos
That's a COM UFL so it needs to be registered using regsvr.exe, then it should show up
0 Kudos
Okay, I had to leave the dll as "COM" and register it from the path "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64" I did it in these 2 ways C:\Windows\SysWOW64 \regsvr32 and C:\Windows\System32\regsvr32 and there the crystal x64 designer could recognize it, thank you very much Don.