Raven
Soozie's watchin' you!
- Local time
- Today, 22:25
- Joined
- May 1, 2002
- Messages
- 48
I have main form wiv button that opens new keyword form.
I would like to have new keyword form open on a new record in order that user can input new data.
I know all you 'experts' out there will find this a very simple one.. ! I suspect it's a one line piece of code in the code on the button on the main form, which currently looks like:
Private Sub cmdaddkeyword_Click()
On Error GoTo Err_cmdaddkeyword_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmaddkeywords"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_cmdaddkeyword_Click:
Exit Sub
Err_cmdaddkeyword_Click:
MsgBox Err.Description
Resume Exit_cmdaddkeyword_Click
End Sub
I would like to have new keyword form open on a new record in order that user can input new data.
I know all you 'experts' out there will find this a very simple one.. ! I suspect it's a one line piece of code in the code on the button on the main form, which currently looks like:
Private Sub cmdaddkeyword_Click()
On Error GoTo Err_cmdaddkeyword_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmaddkeywords"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_cmdaddkeyword_Click:
Exit Sub
Err_cmdaddkeyword_Click:
MsgBox Err.Description
Resume Exit_cmdaddkeyword_Click
End Sub