I have a simple table that is part of a database. I've created a form with a couple of fields from the table and the navigation controls from the FFC.
The first, last and previous buttons work as they should. The next button works correctly until it reaches end-of-file. After displaying the last record, if I click next again it goes to the record that is 1 record before the last record. EOF() is never true. There are only 3 records in the file. I've browsed the file and did a COUNT and there are only 3 records.
This only happens with this one form and table. All other tables and forms in the application work OK. I've recreated the table under a different name and re-entered the data. I've tried it as a free table. I'm using VFP 9 SP1. I tried it under VFP 6 with the same result.
The first, last and previous buttons work as they should. The next button works correctly until it reaches end-of-file. After displaying the last record, if I click next again it goes to the record that is 1 record before the last record. EOF() is never true. There are only 3 records in the file. I've browsed the file and did a COUNT and there are only 3 records.
This only happens with this one form and table. All other tables and forms in the application work OK. I've recreated the table under a different name and re-entered the data. I've tried it as a free table. I'm using VFP 9 SP1. I tried it under VFP 6 with the same result.