S
sales
I have a sub form within a sub form (3 total forms: main, sub1, sub2).
On sub form #2, I need to apply a filter. To do so, I would change the
record source to that of a parameter query. This parameter query
requires input from a control within the sub form #2.
The problem is that the parameter query cannot find the control within
sub form #2, and a prompt is displayed requesting an input value. I
need to find a way to refer to the control in sub form #2, in the
query. I tried some solutions like this but they do not work:
[Forms]![Main Form Name]![Sub form Control Name].[Sub Form #1
Name]![Sub form #1 Control Name].[Sub Form #2 Name]![Sub form #2
Control Name].[Form]![Control Name]
On sub form #2, I need to apply a filter. To do so, I would change the
record source to that of a parameter query. This parameter query
requires input from a control within the sub form #2.
The problem is that the parameter query cannot find the control within
sub form #2, and a prompt is displayed requesting an input value. I
need to find a way to refer to the control in sub form #2, in the
query. I tried some solutions like this but they do not work:
[Forms]![Main Form Name]![Sub form Control Name].[Sub Form #1
Name]![Sub form #1 Control Name].[Sub Form #2 Name]![Sub form #2
Control Name].[Form]![Control Name]