General discussion

Locked

Referring to fields in tab controls

By andrewafresh ·
Hi all,

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.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Software Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums