Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Method in Report
Message
From
10/04/2008 08:55:49
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01309629
Message ID:
01309650
Views:
7
>Hi,
>
>Is it possible to use a class method as the expression for a report field?
>I guess I'm really just asking how/whether one can instantiate a class object in the report?
>TIA,
>Viv

You can call any object.method from the report form, as long as report 'sees' the object, i.e. you should declare the object either as Public, if it is something generic and you will call it from many places, or as Local in the same method from where you call your report form. Within the called method you can do any commands.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform