Hi All,
In my test project, i included four buttons for navigation apart from system class.
Ie. TOP,PREVIOUS,NEXT,END.
Here when i at first record - top/previous should be disbled like system class. Also, when i at last record of the dbf next/last should be disabled.
Click procedure in top and last button, all buttons are working successfully.
But, when i navigate through next button, it disabled after encountered eof(). let's say, dbf having 20 records, it is disabled after generating recno() 21.
How can i disable the next button when i navigate at 20th record and disable the previous button when i at first record?
All efforts would be highly appreciated!
TIA
Joe
In my test project, i included four buttons for navigation apart from system class.
Ie. TOP,PREVIOUS,NEXT,END.
Here when i at first record - top/previous should be disbled like system class. Also, when i at last record of the dbf next/last should be disabled.
Click procedure in top and last button, all buttons are working successfully.
But, when i navigate through next button, it disabled after encountered eof(). let's say, dbf having 20 records, it is disabled after generating recno() 21.
How can i disable the next button when i navigate at 20th record and disable the previous button when i at first record?
All efforts would be highly appreciated!
TIA
Joe