Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>A UDF is a User Defined Function.
Right. I got that much from the help file.
>Place a field on the report.
Yup. I understood that part.
>The only thing the field does is call a UDF, lets call it EJECT. Then in some PRG, you need the function:
>
>FUNCTION EJECT
>
>EJECT
>
>RETURN ""
>
>
>By returning a 0 length string, nothing gets printed. Yes, it will work in preview.
OK. Here's where I start to have problems. I created eject.pgm which contains the following:
function eject
eject
return ""
I placed it in directory with my project (say "c:\mydir") and the project name is "myproj".
Now, my question is how do I call the UDF? I assume that I go to the properties of the field that I just added and somehow in the 'expressions' box, I tell it to run that function. But how???
The help files and the books that I have are not helpful on this point.
Thanks,
Marc Mandel
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement