Good Morning !
I have a sub form and a button on a Main form. I want to set the button's behaviour to go to a new record on subform (which is a datasheet form), for such I tried a code like ;
DoCmd.GoToRecord acDataForm, Me.frmMachineBasicSub.Form, acNewRec
but it does not work.