Access 2013. I have a form (frmMaintenance) with a tab control (TabCt10) and each page on the tab control has a form (subform) on it. The data on each subform is independent of the frmMaintenance (no Master-child relationship) and has its own query with its own table behind it. For two days I've been trying to get the forms on each page of the tab control to open to a new record. The forms are continuous forms. So, when I open frmMaintenance, I want the initial tab (Cars) to open the form (say, frmCars) to a new record. If I click on the next tab (Trucks), I want the page to open to a new record on the frmTrucks. Likewise, when I click the tab Motorcycles, I want the frmMotorcycles on that page of the tab control to open to a new record. Currently, the subforms open to the first record.
When I try to set the form's OnOpen event to go to a new record on the form, I get an error saying the form is not open. Same with OnCurrent event. I've tried using the OnClick event for each page and that doesn't work. I've googled and tried many other things too numerous to list here, none of which can I get to work.
I'm stumped. Can anyone tell me with some detail how to do this? I don't mean to be impertinent, but I would appreciate a real working solution, not just a guess that something "should work."
Thank you very much!
When I try to set the form's OnOpen event to go to a new record on the form, I get an error saying the form is not open. Same with OnCurrent event. I've tried using the OnClick event for each page and that doesn't work. I've googled and tried many other things too numerous to list here, none of which can I get to work.
I'm stumped. Can anyone tell me with some detail how to do this? I don't mean to be impertinent, but I would appreciate a real working solution, not just a guess that something "should work."
Thank you very much!