Additional Function not showing up.
Posted on 2002-04-05
I have been trying to add my own User Defined Function to Crystal 8.5 with no success. I have compiled my VB code as a dll and placed this dll in the WINNT\Crystal directory and registered it. At this point I would expect it to be visible under 'Additonal Funtions' in Funtions in the Formula editor. We have been able to do this in verions 7 of Crystal but ever since we upgraded we have not been able to get it to work.
Here is my VB code. It is one I found off of Crystals web site.
Public UFPrefixFunctions As Boolean
Private Sub Class_Initialize()
UFPrefixFunctions = False
Public Function DateToString(date1 As Date) As String
DateToString = Format(date1, "Long Date")
Does anyone know what I am missing?