Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Next & Previous Button Enabled/Disabled
Message
 
 
To
18/07/2013 09:25:17
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01578618
Message ID:
01578723
Views:
50
>Here is the code that rests in the refresh method:
>
>*!* if !eof()
>*!* nRec = recno('v_empdemo')
>*!* skip
>*!* if !eof()
>*!* thisform.NextBtn.enabled = .T.
>*!* endif
>*!* goto nRec in v_empdemo
>*!* endif
>
>*!* if !bof()
>*!* nRec = recno('v_empdemo')
>*!* skip -1
>*!* if !bof()
>*!* thisform.PrevBtn.enabled = .T.
>*!* endif
>*!* goto nRec in v_empdemo
>*!* endif

If the code is taken from your method as is (commented) it would not work. Otherwise (if not commented) I see no problem. Do you have thisform.refresh() somewhere in Click() methods?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform