Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Navigator
Message
De
30/01/2001 10:50:22
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00469698
Message ID:
00470072
Vues:
41
I don't get it? GO BOTTOM would get the last record, not EOF. Likewise, GO TOP will get the first record, not BOF. If it was indexed, the rule still applies (record number 5 ID could have the smallest number, therefore, should be the record number 1 for that reason...). The good thing about that is it "refresh" itself after a record is inserted/appended/deleted, even before ThisForm.Refresh. Admittedly, this is my coding and may not be the best way, but it is in it's simplest format to get it working "accurately". By all means, if you have something else to share with me, I would like to hear it and would change my coding if it's beneficial.

Chuck

>Be very careful on thinking that if you go bottom and then get the recno() you are not necessarily getting the recno() of the last record. And likewise for go top. Depending on your index, the bottom recno() may be some number in the middle of the file. So sometimes your buttons will work and sometimes not.
Today is tomorrow's yesterday.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform