lewando_bria
BoRiS
- Local time
- Today, 19:29
- Joined
- Jun 18, 2002
- Messages
- 29
Hi All, I have a form with two subforms on it....when the main form activates I would like a command button that "adds a record" to execute automatically...
the name of my main form is: frmmainfrm
the name of my subform is: frmreleasesubform
the name of my command button is: cmdaddrecord
is it possible to automate this action? I have never worked with subforms before...thanks for any help!
****************************************************
Nevermind I figured it out....i used this in case anyone new to access like myself needs to refer to it sometime....
Private Sub Form_Load()
DoCmd.GoToRecord , , acNewRec
End Sub
the name of my main form is: frmmainfrm
the name of my subform is: frmreleasesubform
the name of my command button is: cmdaddrecord
is it possible to automate this action? I have never worked with subforms before...thanks for any help!
****************************************************
Nevermind I figured it out....i used this in case anyone new to access like myself needs to refer to it sometime....
Private Sub Form_Load()
DoCmd.GoToRecord , , acNewRec
End Sub
Last edited: