upon Edit (OnDirty) access should copy the current information in the SubForm then create a new record and paste the copied data into a new record(form).
this is my current code but it doesnt work on the SubForm, i'm assuming its because the subForm is Query Based.
Private Sub Form_Dirty(Cancel As Integer)
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.GoToRecord , , acNewRec
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdPaste
this is my current code but it doesnt work on the SubForm, i'm assuming its because the subForm is Query Based.
Private Sub Form_Dirty(Cancel As Integer)
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.GoToRecord , , acNewRec
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdPaste