Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   News   Courses   Seminars   Templates   Help   TechHelp   Forums   Order   Contact   Logon  
 
Home > TechHelp > Directory > Access > Deleted AutoNumber
 
Access Restore Deleted AutoNumber
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   56 days ago

In this Microsoft Access tutorial, you will learn how to restore AutoNumbers for records that have been deleted. Whether you accidentally deleted them, or the records became corrupted, you may need to get their IDs back. This video will show you how.

Samantha asks, "I’m in tears. I accidentally deleted a customer. I have a backup and can add his record to the table, but he gets a new AutoNumber. Is there a way to restore his old Customer ID so I don’t have to re-enter ALL of his orders, contacts, etc."


BONUS CONTENT for YouTube Members

Silver Members and up get access to an EXTENDED CUT of this video which covers additional examples. That video will show how restore a bunch of records from a backup table, how to write SQL and VBA to automate the process, how to increment your "final" AutoNumber, and we'll see how to use Referential Integrity to prevent accidental deletion in the future.


Learn More


Resources


Questions?

Post your comments or questions below!

 

Dont Rely On This Link 
Richard Rost     
56 days ago
There's a reason I haven't taught this in my classes so far, and that I always teach you that AutoNumbers can't be reused. You shouldn't do it! Use this technique as a last resort if you are recovering from an accident. Don't build your database with being able to reuse AutoNumbers in mind. It's not reliable.
Add a Reply

Post a New Comment or Question
 
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.
 
Subscribe
 

You may want to read these articles from the 599CD News:

9/28/2020Access Developer 18
9/28/2020Access Developer 18
9/28/2020Access Developer 18 Lessons
9/28/2020DLookupPlus
9/27/2020Calculations on Aggregate Results
9/27/2020IIF Function for Future Dates
9/25/2020Open Database Exclusively
9/24/2020Export Reports to PDF One Click
9/24/2020Access Troubleshooting Checklist
9/24/2020Access SharePoint Seminar Outline
 
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search The Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed   
Keywords: TechHelp Access Replace AutoNumbers Restore AutoNumbers Deleted AutoNumbers  PermaLink