I have a Sub form on a Tab Form does not go to new record when focus is moved to a new employee. I have an employee time subform that I enter daily time into. When I click the next record button to move to a new employee I can't figure out how to give focus to the time subform and automatically go to a new record to enter that person's time.
nberryman was correct in his advice and I also placed the DoCmd.GoToRecord , , acNewRec on the form opened. That worked great when I first opened the form....went right to a new record.I thought maybe I needed to somehow add code to the Next record command button to set the focus to the time subform and then go to a new record but I have no idea how to go about it with the code that is already there for "On Click"
Can you help me? Pleeeeez
visitor
nberryman was correct in his advice and I also placed the DoCmd.GoToRecord , , acNewRec on the form opened. That worked great when I first opened the form....went right to a new record.I thought maybe I needed to somehow add code to the Next record command button to set the focus to the time subform and then go to a new record but I have no idea how to go about it with the code that is already there for "On Click"
Can you help me? Pleeeeez
visitor