BernieBeattie
Programmer
We are trying to create a User Function Library (UFL) for CrystalXI in Visual Foxpro 8, as we want to provide our users with a number of standard built-in functions. However, we are having trouble doing this and wondered if you could give us some pointers?
We have tried the following test:-
1. Created a vfp project called CRUFLADV with one program file with the following code:
Define Class LMFUNC As Custom OlePublic
FUNCTION LMTEXT AS STRING
RETURN 'TEST'
Endfunc
Enddefine
2. Built the project as a dll. Checked in the registry to see that it was registered. Also checked that we could use the dll within VFP.
3. Looked in Crystal in the Formula Editor under additional functions to see if the function was listed - it wasn't.
Any ideas? Is there something more we need to do or are we looking in the wrong place in Crystal? Any help would be greatly appreciated.
Thanks in advance,
Bernie
We have tried the following test:-
1. Created a vfp project called CRUFLADV with one program file with the following code:
Define Class LMFUNC As Custom OlePublic
FUNCTION LMTEXT AS STRING
RETURN 'TEST'
Endfunc
Enddefine
2. Built the project as a dll. Checked in the registry to see that it was registered. Also checked that we could use the dll within VFP.
3. Looked in Crystal in the Formula Editor under additional functions to see if the function was listed - it wasn't.
Any ideas? Is there something more we need to do or are we looking in the wrong place in Crystal? Any help would be greatly appreciated.
Thanks in advance,
Bernie