When you are dealing with a subform, the syntax for referring to controls and fields on it changes slightly from that which you would use for controls and fields on a form.
Bookmark this link for future reference, as it shows the correct syntax for referring to subforms, their controls and...