Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Recently opened records list
John S 

3 years ago
I have a database with 150 records. I access these records through a form. On that form, I'd like to have a continually updated list, in a combo box, of the last 10 records I viewed using the form. Then, on selecting an item in that combo box, I'd like to go to that record in the form. I'd like the list to be remembered across sessions.

What is a good way to accomplish this?
Alex Hedley  @Reply  
           
3 years ago
Could create a table.
Add 10 records
Then each time you visit a record update the table with the RecordId and date time, then find the last updated and increase the Item # by 1, wrapping back to 1 if it's 10.

- - -

Alternative, most visited.
I'd create a table that I store when a record has been accessed.
So if you have a button that opens the record or double click event add an extra INSERT/UPDATE query for that Id. Increase the counter.
You can then create a query, ORDER BY count DESC and do a TOP 10 on it.
John S OP  @Reply  

3 years ago
Thanks Alex. Your first idea is a lot simpler than the method I was considering. I'll give it a try. --John
Scott Axton  @Reply  
        
3 years ago
Check out the Favorite Customers video.
This might give you some ideas as well as methodology to get it done.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 7:55:41 PM. PLT: 0s