S
scott04
Hey everyone,
I am having a problem getting my subform to allow edits since its property
under normal conditions does not allow edits. I understand from looking at
posts that the format should be :
Me.NameOfSubformControl.Form.AllowEdits = True
When I click on my subform under properties it lists source object
frmAuditlifesubform so i am guessing that is the name of my subform
control????? The code i am using is the following:
If InputBox("Enter the password to edit the subform records?", "T6B22") =
"T6B22" Then
Me.frmAuditLifesubform.Form.AllowEdits = True
Else
MsgBox "Edit Canceled"
Cancel = True
Err_DeleteRecord_Click:
MsgBox Err.Description
End If
The inputbox does come up and prompts me for password. I enter in the
correct password but it still does not let me edit the subform. Any ideas on
how i can make this work or better? Thanks.
I am having a problem getting my subform to allow edits since its property
under normal conditions does not allow edits. I understand from looking at
posts that the format should be :
Me.NameOfSubformControl.Form.AllowEdits = True
When I click on my subform under properties it lists source object
frmAuditlifesubform so i am guessing that is the name of my subform
control????? The code i am using is the following:
If InputBox("Enter the password to edit the subform records?", "T6B22") =
"T6B22" Then
Me.frmAuditLifesubform.Form.AllowEdits = True
Else
MsgBox "Edit Canceled"
Cancel = True
Err_DeleteRecord_Click:
MsgBox Err.Description
End If
The inputbox does come up and prompts me for password. I enter in the
correct password but it still does not let me edit the subform. Any ideas on
how i can make this work or better? Thanks.