General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Referring to fields in tab controls
I am designing an Access form and want to change properties of one button when another button is clicked.
The button to be changed lives in an embedded tab control.
The button to be clicked is in a subform on the same tab control.
I have tried these:
[Forms]![ParentFormName].[tabName]![buttonName].Enabled = True
[Forms]![ParentFormName].[pageName]![buttonName].Enabled = True
[Forms]![ParentFormName]![tabName]![buttonName].Enabled = True
[Forms]![ParentFormName]![pageName]![buttonName].Enabled = True
None of which are recognised when I run the code.
Any ideas?
Thank you.