PC Review


Reply
Thread Tools Rate Thread

Copy/Duplicating Record

 
 
Anthony Viscomi
Guest
Posts: n/a
 
      4th Feb 2005
I am trying to copy/duplicate a record using the following:
Private Sub cmdCopyRecord_Click()
On Error GoTo Err_cmdCopyRecord_Click


DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append

Exit_cmdCopyRecord_Click:
Exit Sub

Err_cmdCopyRecord_Click:
MsgBox Err.Description
Resume Exit_cmdCopyRecord_Click

End Sub

My problem is that these records are linked to to another table. Basically I
have a Sub-Form within this form. How can I get the sub-form records to also
copy?
Thanks!
Anthony


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Record Duplicating Itself Melissa Microsoft Access Forms 9 3rd Feb 2009 01:43 PM
Append new record - duplicating previous record =?Utf-8?B?UG9zc2UgSm9obg==?= Microsoft Access Form Coding 2 28th May 2006 03:45 PM
Duplicating a record =?Utf-8?B?TWFyYw==?= Microsoft Access Forms 7 23rd Feb 2005 02:21 PM
Duplicating a record Darrell Childress Microsoft Access Forms 2 23rd Dec 2004 01:57 PM
Duplicating a record, except... J W Crosby Microsoft Access Forms 1 9th Apr 2004 10:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:17 AM.