Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid displaying last record in top row after 1st time
Message
From
25/01/2008 02:10:32
 
 
To
24/01/2008 17:54:43
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01285343
Message ID:
01285426
Views:
24
>>>I call a form from another form. In the 2nd form there is a FILTER set on the table. The grid displays all four records within the filter criteria the first time. If I exit the form, then go back to it, only the last record of the four is displayed in the top row of the grid. If I navigate, then all four records suddenly appear in the grid. Is there a way to force the top record in the filter to be at the top row of the grid? I am using SET FILTER TO and closing the table when leaving the form. I also do GO TOP after setting the filter in the INIT of the form. Everything works great the first time, but not after that.
>>
>>Just a sidenote. LOCATE can be sooo much faster than GO TOP, especially on a big table.
>
>Noted and changed. It's an old habit. Thanks!

I notice that nobody has commented on your real problem. I have seen situatione where a GOTO lnRecord in myWorkarea followed by mygrid.refresh() has been necessary.
Previous
Reply
Map
View

Click here to load this message in the networking platform