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 Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Forms with Tables No Sorting
Brad Weekley 
     
4 years ago
So I learned something new this week that apparently I missed a long long time ago.
  
You should not expect forms with tables as record sources, to be sorted in a certain order UNLESS you specifically tell Access to do so.

For years now, I assumed that Access would always grab the first record, first.  And nearly all the time it does, especially if you are compacting a lot.  But...I ran into some trouble in one of my databases that was not retrieving the data in the order that I was normally expecting.  That is, in numerical order of the primary keys.

Some very experienced folks in another form explained in detail what was happening.  I was shocked that I had not learned that.  I suppose you have covered this topic in the past, but somehow I missed it.  Just thought I'd share that.
Happy 4th to all!

Richard Rost  @Reply  
           
4 years ago
That is correct. Unless your form is based on a query OR you have the Order By and Order By ON LOAD properties set, then your results could be in any random order. And NEVER count on AutoNumbers being in sequence or in order either.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access 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: 6/16/2026 4:12:15 PM. PLT: 1s