Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>>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
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