Full Version: Referencing a Child form from Parent
UtterAccess Forums > Microsoft® Access > Access Forms
dabooj
Hi,
know of the method to reference a parent form form a subform (e.g. Parent.Parent.form.field1.text) but is there a way of doing the opposite for a child form (i.e. Child.child.form.field1.text).
I've tried the Child command but taht doesn't work. Is there an actual simple way of doing this or is this beyond the capacity of VBA in MS Access?!
Any help would be graetly appreciated.
Thanks in advance,
Shuja.
niesz
This reference should give you all the info you need.
HiTechCoach
To reference a control (field are in tables, control are on forms) within a sub form ( sub forms are a control also) use:


Me.[Subform Control Name].Form.[Control Name].property
This is a "lo-fi" version of UA. To view the full version with more information, formatting and images, please click here.