Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Navagation button resets my form properties
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00213702
Message ID:
00213722
Views:
27
Nick,
Check the code called by 'dodefault()' in the VCR buttons. Walk through it with the debugger watching the properties of lparm1zz etc. to see where they change.

HTH
Barbara

>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
>dodefault()
>r = .t.
>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 = .lparm1zz && lc_recid is parameterized view param
>requery('lv_reqpay')
>thisform.grdpay.refresh()
>thisform.refresh()
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform