Hello, I have a subform [frmMachineOutputSubform] and need a button to add only one record to the subform. I have the forms properties set to "Allow Additions = no". When I click the button it adds the new record but leaves the allow on. I tried to use allowadditions = no after go to new record but it did nothing. I just want to add a new record one at a time. How can I do this?
Thanks,
SoggyCashew.....
Code:
Private Sub cmdAddNewProduct_Click()
Me.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec
End Sub
Thanks,
SoggyCashew.....