There's a wizard function that does what you want.
Open your form in Design View
Make sure you have the wizards turned
Put a command button on the form.
Choose "Record Operations"
then "Duplicate Record"
That will end up with this code:
Code:
On Error GoTo Err_Command1_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append
Exit_Command1_Click:
Exit Sub
Err_Command1_Click:
MsgBox Err.Description
Resume Exit_Command1_Click
Steven
I am a loud man with a very large hat. This means I am in charge