Hi,
I have a continuous form as a subform. Every record has a Edit command button that, when pressed, will enable the record fields (which are disabled On Load of the form). But my code enables ALL the fields on the form and not only the matching fields in the record I've clicked the button of.
How can I refer to only the relevant fields in the record where I pressed the button?
My current code:
Forms![Mainform].[Subform].Form![Field1].Enabled = True
Forms![Mainform].[Subform].Form![Field2].Enabled = True
Thank you in advance.
Kind regards,
Bart