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 
non indexed table sort order
Gregory Clancey 
    
3 years ago
This may be a dumb question, but. . .
I know a table can be sorted by using its various field properties; but, does a "keyless" table with no indexes in any of its numeric fields have a kind of innate or default sort order?
and. . .
does ordering such a table programmatically alter the innate sort order? So, if a table basically has the order of the sequence as records were originally entered does alphabetizing or designating one of its fields as the key alter this?
Adam Schwanz  @Reply  
           
3 years ago
They should just showup in the order they were entered. Adding an autonumber ID field or something after the fact would just number them in the order they are currently in. Same with changing a field to being the PK. As far as the data is stored it should remain in the order it was. You could add sort/order by to change how it looks however you want but at the bones with no sort applied it should stay the same.
Gregory Clancey OP  @Reply  
    
3 years ago
Thanks. I looked around and couldn't find any clue. This is what I thought. Actually, I'm revising an old database whose table had an Autonumber index, but many records, at scattered places, had been deleted over the years. Because each record included a location reference to an inventory photo' fileName -- and, as the JPG's filename I'd used that Autonumber'd field, I wanted to merge back into the table the missing numbers. I've deleted the original Autonumber index and manage to identify and append 134 missing numbers to the JPG name record. Now I hope to take this restored table and add a new AutoNumbered key. Because I want to synchronize these with the existing JPG names I want to order the table by the JPGname.

To pull this off (it's more an exercise than a necessity) it looks like I may have to construct a new table, writing these contents one record at a time by JPGname order to set the natural order of the data such that adding an AutoNumber then will coordinate. I can do this and I will try it.

One thing, I notice, is that I'm beginning to accumulate a snowdrift of tables in my navigation pane with various, hastily assigned table names which are confusing the evolving improvements. I'll get a handle on that first. What a nightmare if I query the wrong table! Thanks for the quick response.
Gregory Clancey OP  @Reply  
    
3 years ago
Adam, thank you for your valuable input. The deed is done. I've only now to verify everything. Having to fix a database to seamlessly carry forward an AutoNumber field like this required careful planning and lots of double checking. It will probably be a little easier the next time -- but I think I'll hold off nonetheless! Thanks -- great advice.

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: 4/30/2026 3:28:13 PM. PLT: 1s