I'm trying to add a calculated control to a form which includes 4 fields from my main form and one from a sub form. I can't figure out how to refer to the sub form control in the expression - here's what I've tried:
[Field1]+[Field2]-[Field3]+[Field4]-Forms![frmMainFormName]!subFormName.Form![Control Name on subForm].
I've used the above syntax in the past to refer to subform controls - but only in modules. Is there a different syntax for expressions. I'm a serious novice - so please be specific in your response......thanks!!!!
[Field1]+[Field2]-[Field3]+[Field4]-Forms![frmMainFormName]!subFormName.Form![Control Name on subForm].
I've used the above syntax in the past to refer to subform controls - but only in modules. Is there a different syntax for expressions. I'm a serious novice - so please be specific in your response......thanks!!!!