Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remember the last selected record
Message
 
To
10/10/2001 01:02:47
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00566296
Message ID:
00566321
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform