Hey, have you ever heard of Hungarian notation? :>. I'm a stickler for that type of thing.
I couldn't understand, are you trying to call a method on the current form/object? If so, you would:
**********************************
use correct table
find correct row
lcMethod = yourtable.methodfield
this.&lcMethod or thisform.&lcMethod or this.parent.&lcMethod, whichever.
**********************************
Give me more info on what you are trying to do if this is incorrect.
>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