Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a method via a reference in a table
Message
From
22/07/1997 10:22:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Accessing a method via a reference in a table
Miscellaneous
Thread ID:
00041112
Message ID:
00041112
Views:
124
I am trying to access a method for which I have a reference to it in a field of a table.
This is done so I can keep all my validation fn's of a page frame driven by
a table for flexibility.



The data in the field is:
do wizard1.fpcommandbutton2._translate WITH _ls_status_i


This is the code I use to access it:
Local _ls_status_i, _ls_Prog_s

* point to the correct record
use (THISFORM._p_verifydbf_s) order pagenum alias genwiz
seek (THISFORM.fppageframesingle1.activepage)

* save data to standard structure (db, struct, inifile)
_ls_Prog_s = genwiz.vermeth1
&_ls_Prog_s

Thanx
Jim Tubridy
tubridja@pb.com
Next
Reply
Map
View

Click here to load this message in the networking platform