Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Method in Report
Message
From
10/04/2008 08:42:22
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01309629
Message ID:
01309642
Views:
17
>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

Viv,

no, you can not use a method of a class.
You might use the method of an object instead.

the object must be accessible via
-public var (a public var must hold a reference to your object)
-something else the rport will see must hold an reference.

I use something like
_screen.addproperty('goMyHandler',GetInstanzeMyHandler)
*the report will work with 
_screen.goMyHandler.SomeMethod()
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform