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
Thanks in Advance.
J. Turner