Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Duplicate Records
Ndubuisi Chibuogwu 
    
4 years ago
Hello Richard. The duplicate record encounters problems when dealing with records containing primary keys e.g. employee ID or student ID. How can one navigate around this please? The objective is to be able to create a duplicate record and make modifications on it that does not alter the original record. Thanks
Adam Schwanz  @Reply  
           
4 years ago
Just make a second/third/fourth record and link it to the first. Either in a second table (probably easier) or with another ID field in your current table.

Relationships
Scott Axton  @Reply  
      
4 years ago
Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago
The problem is the records are 12 in number and the duplicate is applied to a form with a subform holding the records. I tried creating a duplicate button but it duplicates the records in the subform but when I make changes to the duplicate records it still affects the records in the base form/table
Scott Axton  @Reply  
      
4 years ago
Please post screenshots and examples.  Scrub sensitive data out.
To difficult to guess what the problem might be.
Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago

Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago

Scott Axton  @Reply  
      
4 years ago
Still need the code.  Nothing here shows the properties or events of the duplicate button.
Did you watch the videos I linked above?
Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago
I watched the video and used the command wizard selecting record operations and then duplicate records. As for the events I did not use any event.
Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago

Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago

Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago

Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago

Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago

Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago
The last two messages are the actual nested form that is giving me a problem. There are three forms (the main form, subform and a nested form). The duplicate function works but whenever I modify the records on the duplicate copy it still affects the record from the main table
Richard Rost  @Reply  
          
4 years ago
Hi there. Without digging through your code to figure out where you went wrong, the problem is probably that the new records have a wrong ID somewhere. This is a fairly complicated thing to do, but I cover how to copy a record with all of its child (related) records properly in Access Developer 24.
Ndubuisi Chibuogwu OP  @Reply  
    
4 years ago
Ok thank you for the early response. I will watch the Lesson 24 and see how it can help me out.

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: 8/8/2026 12:33:50 PM. PLT: 1s