Hello sometimes when Find Record Button on my form generates an error..that says among other things to
"Add a GoToControl action before the FindRecord Action."
I know zilch VBA...could some tell me the syntax for adding this line and where I should add it.
exisiting code for the button is below:thankyou
Private Sub Command22_Click()
On Error GoTo Err_Command22_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Exit_Command22_Click:
Exit Sub
"Add a GoToControl action before the FindRecord Action."
I know zilch VBA...could some tell me the syntax for adding this line and where I should add it.
exisiting code for the button is below:thankyou
Private Sub Command22_Click()
On Error GoTo Err_Command22_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Exit_Command22_Click:
Exit Sub