Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a user defined function in a report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00180890
Message ID:
00180918
Vues:
18
>>>>Is in possible to define and then call a function within a report?
>>>
>>>Evan, you can put a function call in any textbox in the report. I usually place those functions in the procedure file.
>>
>>But where can I define the fuction in the report? What is the procedure file? Do you mean a PRG?
>
>You don't define a function in a report, you just place
>
>myFunction1()
>
>into Expression for the report textbox.
>The function can be placed in procedure file as any other function ( yes, I mean PRG) and it should return your value ( or text string).
>You also can call the methods from the form (active form at the moment) but you have to refer it in the textbox expression like
>
>Thisform.Mymethod()

That's what I am doing know, but I just had a function that I know I will only use once in the init of a report, so I didn't want to clutter up my form or my PRG will all of my general functions. Thanks for you help.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform