G
Guest
Hi,
I've a form with a subform. The subform is based on a query that has to
refer to a TextBox in the mainform. That could be done with:
select * from aTable
where aField = Forms!myMainform!myTextBox
But in that case the subform is not re-usable in another form. To achieve
that I would like to use such as:
select * from aTable
where aField = Me.Parent!myTextBox
But that does'nt work. What should be the correct expression?
Thanks for advice
Henk
I've a form with a subform. The subform is based on a query that has to
refer to a TextBox in the mainform. That could be done with:
select * from aTable
where aField = Forms!myMainform!myTextBox
But in that case the subform is not re-usable in another form. To achieve
that I would like to use such as:
select * from aTable
where aField = Me.Parent!myTextBox
But that does'nt work. What should be the correct expression?
Thanks for advice
Henk