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 
Inserting a new record
Alex Tulbure 
   
3 years ago
Hello!
  I have a table with 8 fields and 200 records. I want to insert a new record, number 50 (example) and automatically all the records will change the number, 50 to 51, 51 to 52,...200 to 201. And this new number 50 record to be near to record number 49. How to do this ?  

Juan C Rivera  @Reply  
            
3 years ago
Alex a bit confused on the question best bet is to reference you to Access Beginner

Give that a shot and see if it helps.
Dan Jackson  @Reply  
            
3 years ago
When you say "The Number", are you referring to the autonumbers? If so, see this AutoNumbers Are NOT For You

If you are referring to a regular numbered field, use Update Queries
Kevin Robertson  @Reply  
          
3 years ago
Scott Axton  @Reply  
        
3 years ago
If you are not speaking about the AutoNumber but need to still  order your records check out the Custom Sort Order and the Automatic Record Numbering videos.
Those will both show you how to order the records in a specific manner.

You might want to consider the TechHelp membership as well.  The extended cuts for those links cover much more than the free videos.   See:  TechHelp Memberships
Kevin Yip  @Reply  
     
3 years ago
Hi Alex, we typically don't do this because even if you don't add or delete records, a table can be sorted, filtered, queried, etc. which will also render your numbering useless.  You can create such numbering for display purposes (with VBA, for instance).  But we typically don't put such numbers inside a table itself, due to precisely the reason you're facing -- you have to redo the numbering every time the table is changed.
Alex Hedley  @Reply  
           
3 years ago
Alex Tulbure OP  @Reply  
   
3 years ago
Thank you for all the replays. I not talk about AutoNumbers.
Let me tried explain better: in a production factory are the "steps", "phases" how products are made. So on the table I will write down this steps ("the production table"):
- phase 1: lay down the material;
- phase 2: upload the drawing i the cutting machine;
- phase 3: turn on the vacuum;
- phase 4: cut the material;
.......................................................
- phase 200: put the label on the box.

I finish the tables with 200 records, phases/steps, but I forgot something: - phase 4: put the protection on
I goo in the table and insert this new phases/steps. Now I have 2 phase/steps number 4.
What I need:
- when I introduce a new number 4 phase/steps the old number 4 transform in phase/steps number 5, 5 in 6, ..... 200 in 201
Kevin Robertson  @Reply  
          
3 years ago
Make a copy of your Table (Structure only) and use a couple of Append Queries to add the missing record.

1. Run the first Append Query.
2. Add the missing record to the  temporary Table.
3. Run the second Append Query.

The screenshot below shows how I accomplished this.
Kevin Robertson  @Reply  
          
3 years ago

Juan C Rivera  @Reply  
            
3 years ago
I know what you need check this one out.  Automatic Record Numbering and its a tech help video.

V/r
Juan

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: 4/30/2026 10:27:06 AM. PLT: 1s