Darrylles "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." AND "A pointer to a solution is better than the solution - you'll remember the solution via a pointer". darrylles@totalise.co.uk
Why then, when referring to controls on subforms do you need to use 'subform!form.control'?
I've always found it difficult to remember this syntax.
Regards,
Darrylle "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." AND "A pointer to a solution is better than the solution - you'll remember the solution via a pointer". darrylles@totalise.co.uk
i have found that refering to forms!formname.controlname works only sometimes if that is what you want to refer to
dont know why
that is if you want to refer by forms!formname.controlname
i dont know exactly how you want to refer by
Me.mainform.LinkChildFields = "id"
Me.mainform_sub.LinkMasterFields = "id"
Won’t work because LinkChildFields & LinkMasterFields are properties of the subform control
I should have written
me.subformcontrolname.LinkChildFields="childfieldname"
me.subformcontrolname.LinkmasterFields="masterfieldname"
'subform!form.control
Refers to the form embedded in subform control
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.