Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank grid
Message
From
05/04/1999 20:11:26
 
 
To
05/04/1999 20:04:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00205422
Message ID:
00205423
Views:
17
>I just found one interesting grid 'feature' and it might be helpful for all struggling with grids. You obviously know that grid used to become blank when its recordsource is overridden. Also, you probably know that one of ways to fight it is to base grid on permanent cursor and refill it using ZAP/APPEND. So far, so good, last hour I found that even this grid can become blank, if ZAP issued when focus is on the grid and new recordsource RECCOUNT() is more than previous recordsource RECCOUNT(). I understand that it sounds crazy, but it's really so, at least for grid I have right now :-).
>However, if focus shifted to another control (setfocus) right before ZAP, then grid is Ok, so it's still workable.

All in all, probably easier to save the formatted grid as an object then .RemoveObject()
...fix cursor...
.AddObject()

No?
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform