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:
00180913
Vues:
23
>>>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()

HTH,

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform