General information
Category:
Reports & Report designer
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only