Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid displaying last record in top row after 1st time
Message
De
25/01/2008 02:10:32
 
 
À
24/01/2008 17:54:43
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01285343
Message ID:
01285426
Vues:
25
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform