I have a form that I setup a button to allow edits to fields on the form. Works great.
I then added a linked subform to the original form. I can not edit data on the subform.
I asume that I have to add some code to my main form that will allow edits on the subform. I can’t get the coding right.
Here is the code behind the original edit button:
Private Sub cmdEdit_Click()
Me.AllowEdits = True
Me.LNFN.SetFocus
cmdEdit.Visible = False
CmdSave.Visible = True
Me.lblEditMode.Visible = True
End Sub
I think I have to add a line something like this:
Forms!subformCertifiedSports.AllowEdits = True
Doesn’t work. What am I missing?
Thanks.
Paul