Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying last record in grid
Message
De
12/08/1997 14:47:16
 
 
À
12/08/1997 14:34:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00044295
Message ID:
00044298
Vues:
30
>I have a form with a grid on it in which I want the user to be in the last record in the grid when the form is shown. In the init of the form I am issuing a GO BOTTOM to access the last record. However when the grid is displayed, the last record is shown as the first (top) row of the grid. If I issue a GO BOTTOM followed by SKIP -N I can fill in the rows of the grid, but then the current is not the last record.
>
>What I want is, on entry to the form, the current record to be the last record in the record set and for that record to be displayed as the last ( or near last ) row in the grid. Any ideas on how to do this?
>
>Thanks,
>Bill

The simplest way is to use Grid.Doscroll(0) looped as many times as number of records you want to show on top of the last on.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform