Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Navagation button resets my form properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00213702
Message ID:
00213707
Vues:
34
I am setting the values in my form in procedure INIT.

frmxxx.init
lparameters iparm1, iparm2, iparm3

with thisform
.lparm1zz = iparm1 && hold id of record
.lparm2 = iparm2 && move screen type parm to properties
.lparm3 = iparm3 && move payment lookup type

the values for my .lparm1zz keeps resetting or change to different values as soon as I click on vcr buttons.

in the navigation button (class) I have the following for vcrtop, vcrprevious, vcrnext, and vcrbottom

vcrnext.click
r = .t.
r = dodefault()
if r = .t.
.findpay && method that refreshes grid with new records
endif


======= findpay refreshes my grid (bound to local view) evertime I click on vcr buttons. here the code for my method with relies on .lparm1zz


lc_recid = thisform.lparm1zz && lc_recid is parameterized view param
requery('lv_reqpay')
thisform.grdpay.refresh()
thisform.refresh()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform