I'm having a bit of a 'mare. I open a form from a button on another form, linking the two ID fields. However, when the new form appears, it is read-only.
I cannot seem to make it editable, which is what I need....I think I've checked all the obvious parameters. Anyway, the code below is what calls up the form:
Private Sub More_Button_Click()
On Error GoTo Err_More_Button_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Vessels Input"
stLinkCriteria = "[ID]=" & Me![ID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Maximize
Exit_More_Button_Click:
Exit Sub
Err_More_Button_Click:
MsgBox Err.Description
Resume Exit_More_Button_Click
End Sub
Is there a line I can stick in to make it editable?
Really appreciate any help on this folks, I've spending hours pondering over it.
Thanks!
I cannot seem to make it editable, which is what I need....I think I've checked all the obvious parameters. Anyway, the code below is what calls up the form:
Private Sub More_Button_Click()
On Error GoTo Err_More_Button_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Vessels Input"
stLinkCriteria = "[ID]=" & Me![ID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Maximize
Exit_More_Button_Click:
Exit Sub
Err_More_Button_Click:
MsgBox Err.Description
Resume Exit_More_Button_Click
End Sub
Is there a line I can stick in to make it editable?
Really appreciate any help on this folks, I've spending hours pondering over it.
Thanks!