Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remember the last selected record
Message
 
À
10/10/2001 01:02:47
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00566296
Message ID:
00566321
Vues:
13
>When a user opens a form and scrolls through a database using an ADODC control, how can I set it so that the next time the user opens the form, it shows the last record they viewed, even if it isnt the last record in that database?

Save the primary key to the registry (using SaveSetting). The next time the user open the form, use the ADO Find method to get to the record (retreived the value using GetSetting).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform