I am trying to display a value from the sub form on to the main form. It's not a calculated data, just plain text.
This is what I attempted without success.
1. Created a text box called "Hero" within the subform [sfrmItemsCast] footer.
2. In its control source I added this function:
=iif(([icrSort] = 1,[iccID]),"")
3. Created another text box on the main form and added this in its control source:
=[sfrmItemsCast].Form![Hero]
But I am getting this error message: #Name? I should mention that icrSort is a text field.
My goal is to display the hero's name in a fancy font up on the main form.
Can anyone please help me with this problem? Thanks a lot.
This is what I attempted without success.
1. Created a text box called "Hero" within the subform [sfrmItemsCast] footer.
2. In its control source I added this function:
=iif(([icrSort] = 1,[iccID]),"")
3. Created another text box on the main form and added this in its control source:
=[sfrmItemsCast].Form![Hero]
But I am getting this error message: #Name? I should mention that icrSort is a text field.
My goal is to display the hero's name in a fancy font up on the main form.
Can anyone please help me with this problem? Thanks a lot.
Comment