>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