General information
Category:
Forms & Form designer
Title:
Grid Adventures in VFP3
Anybody experienced in the *GRID SCIENCE* please help :)
I have a grid bounded to a small cursor (about 5-6 records).
SET DELETED is ON.
I refresh the grid after each APPEND and DELETE.
1. I add few (let's say 3) records (append blank). The grid is OK and refreshed properly.
2. I delete all 3 records, one by one. Grid refreshes ok. After deleting the first record, recno() goes to 3 (i.e. eof). The grid is empty as it supposed to be.
3. I APPEND BLANK another time (that would be record # 4). After refresh, the grid still does not show the new record! However, recno() is 4, vertical slidebar moved a little bit, but, again, no sign of the new record. DoScroll(), mouse dance and headache medicine dont help...
4. If I add another record (adjacent to rec.#4), after refresh I see BOTH records. As long as I have at least one non-deleted record, everything goes fine. But if , God forbid, I delete everything, the grid goes blind.
Once again, this is VFP 3.0b.
Any Great Ideas ?
Thanks.
Steve.
PS: Another solution to my problem would be the a quick way to somehow PACK the cursor, i.e. permanently erase all deleted record...
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only