I
iordanissav
Hi there. Here's an Access question about forms
Say, you have a form with one subform control, which also contains another subform control, which also contains another subform
Form
-- Subform1
-- -- Subform2
-- -- -- Subform3
I' m trying to create a function with a loop going upwards in the hierarchy, that when passed a reference of a control contained in any of the subforms, it always returms a reference to the top level Form, no matter in which subform the function call is made (either in Subform1, Subform2 or Subform3).
No luck so far. And no such code in any dev site. Can you help please?
TIA
Iordanis
Say, you have a form with one subform control, which also contains another subform control, which also contains another subform
Form
-- Subform1
-- -- Subform2
-- -- -- Subform3
I' m trying to create a function with a loop going upwards in the hierarchy, that when passed a reference of a control contained in any of the subforms, it always returms a reference to the top level Form, no matter in which subform the function call is made (either in Subform1, Subform2 or Subform3).
No luck so far. And no such code in any dev site. Can you help please?
TIA
Iordanis