I have a form with a subform and have a add new record command button that works with the form but wanted to see if there was a way to have it also work with the subform

can this be done