I have 2 tables, one called "Parent" and one called "Child". I also have a Family-App ID that connects the two.
What I am trying to do is create an unbound text box on the "Parent" form to return the children from the "Child" table that have the same Family-App ID as the parent. If there is no match, I want it to return nothing.
My current expression, which is NOT working, looks like this:
=IIf ([Child]![Family-App ID] = [Parent]![Family-App ID], “[Child]![Child Name]”,”” )
So I have 3 questions:
1. Can you even return results from an IIF statement into an unbound text box or should I create a field within the "Parent" table/form for the info?
2. How doI tell it to return nothing if the statement is not met?
3. What's wrong with the expression? I'm getting an operator-missing-an-operand error when I try to use it.
Thanks for any and all help. If you need more info on what I'm trying to do, please let me know!