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 09:21:50
 
 
To
24/01/2008 17:30:45
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:
01285493
Views:
22
Hi Jay,

does the form close down after the first call and then get recreated the second call? Or is it left on screen and then re-shown? Maybe the record pointer gets moved by some other process? You could try setting a breakpoint on RECNO("alias name") and see if that is it.

>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.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform