Hi
I have a subform on a form. All the fields on the form and subform are locked and not enabled.
I have a amend button which should unlock and enable the fields on the form and subform, although, i can unlocked and enable the fields on the form, but cant seem to do it on the subform, the code i use is:
Can anyone help?
I have a subform on a form. All the fields on the form and subform are locked and not enabled.
I have a amend button which should unlock and enable the fields on the form and subform, although, i can unlocked and enable the fields on the form, but cant seem to do it on the subform, the code i use is:
Code:
Forms!participantSUBForm2.role.Locked = False
Forms!participantSUBForm2.CDSID.Locked = False
Forms!participantSUBForm2.role.Enabled = True
Forms!participantSUBForm2.CDSID.Enabled = True
Can anyone help?