Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Adventures in VFP3
Message
From
13/01/1999 13:34:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid Adventures in VFP3
Miscellaneous
Thread ID:
00175585
Message ID:
00175585
Views:
68
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
Map
View

Click here to load this message in the networking platform