So if I want to reference a control (like a text box) on a sub form, from the CBF of the parent form, how should I do this?
me.SubForm.SubControl
Gives me an error.
Me.SubformControlName.Form.SomeControl
Be sure to use the name of the subform control, not the form contained - they are often the same, but not always.
More info: http://www.mvps.org/access/forms/frm0031.htm
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.