Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable Subform Field

Status
Not open for further replies.

Gazer44

Technical User
Mar 4, 2002
211
US
I've got a tick box on a 'MainForm'. When i tick it i want a field (FieldA) on a 'Subform' to become enabled.

I've got following code in tick box 'on click' properties but it's not working.

Forms![MainForm]![Subform].Form!FieldA.Enabled = True

Any ideas
 
Have sorted this out, my mistake

I had the subform's name on the Main Form slightly different from its actual name.

This works:-

Me![SubformName].Form![FieldName].Enabled = True

cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top