Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page breaks
Message
From
09/03/1998 18:08:05
 
 
To
09/03/1998 15:07:50
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00083104
Message ID:
00083509
Views:
22
>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
Map
View

Click here to load this message in the networking platform