I want to repeat this step (copying current record) as many times as the end user states in a text box on the current form.
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdRecordsGoToNew
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdPaste
Me.Quantity.SetFocus ' next field on form
How? do I use loop?
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdRecordsGoToNew
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdPaste
Me.Quantity.SetFocus ' next field on form
How? do I use loop?