Evelyn, your test for not EOF() returns .F. when you are on the last record of your file. Since it returns .F. your code then executes the SKIP command which then does position you past the end of the file. Then you get a blank record. You should change the code to be:
IF !EOF()
SKIP
ENDIF
IF EOF()
GO BOTTOM
ENDIF
>i have this click method in my button cmdNext.
>
>IF !EOF()
>SKIP
>ELSE
>GO BOTTOM
>ENDIF
>Thisform.Refresh()
>
>why does foxpro shows an empty record when NEXT button encounters EOF()? i checked my table and there is no empty record.
>
>any help pls?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.