in #1, the code used
docmd.openform "frmTraining" , , , , , acFormAdd, Me.PositionID
has incorrect syntax
Use
docmd.openform "frmTraining" , , , , acFormAdd , , Me.PositionID
That is 4 commas before and 2 commas after, the acFormAdd rather than 5 and one