Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page breaks
Message
De
09/03/1998 18:08:05
 
 
À
09/03/1998 15:07:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00083104
Message ID:
00083509
Vues:
26
>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
Fil
Voir

Click here to load this message in the networking platform