View Full Version : reference subform object


spinkung
03-26-2009, 07:08 AM
Hi All,

Hopefully a quick one...

I'm trying to reference a subform object when i change a combo box value. I want to set the text box on a subform to disabled if the combo is blank.

something like..
Me.subform.textbox.enabled = false

..but this isn;t working as the object 'textbox' doesn't show on the intellisense.

Anyone?

Many Thanks.

Rabbie
03-26-2009, 07:55 AM
This link (http://www.btabdevelopment.com/main/QuickTutorials/Easywaytorememberhowtoreferencesubforms/tabid/76/Default.aspx) should help you to access a subform correctly