General discussion
June 1, 2006 at 03:16 AM
apn72

Referring to fields in tab controls

by apn72 . Updated 20 years, 4 months ago

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 discussion is locked

All Comments