Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a method via a reference in a table
Message
 
À
22/07/1997 10:22:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00041112
Message ID:
00041212
Vues:
32
>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

Jim,

Change things so they are like this;

The data in the field is:
wizard1.fpcommandbutton2._translate(_ls_status_i)

You cannor execute a method with a DO command, it must be similar to a functtion call.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform