A family of Microsoft relational database management systems designed for ease of use.
The coding behind the 'duplicate' button has been on a form for 10 years or so. It has duplicated the form and its data to a new form.
Its been working Ok till about 2 years ago. I just lived with it.
However I now have a need to use it.
Its either an upgrade to Access that has prevented this, or maybe Windows 11 or maybe 365
Private Sub Command124_Click()
On Error GoTo Err_Command124_Click
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdRecordsGoToNew
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdPaste
Exit_Command124_Click:
Exit Sub
Err_Command124_Click:
MsgBox Err.Description
Resume Exit_Command124_Click
End Sub