NormX
NormX

Reputation: 125

Reference unbound textbox in subform on subreport

i am trying to reference a unbound text box called gCalc that does a calculation inside of my sub-form. I'm calling it inside of a text-box of my sub-report. when i call it i get the same error but i can call other fields that are not unbound. iv tried several ways of calling it. below are my examples that failed

[Forms]![SubformN]![gCalc]

[Forms]![mainFormN]![SubformN]![gCalc]

output

#Name ?

Am i not able to reference unbound text boxes in a sub-report?

Upvotes: 0

Views: 1721

Answers (1)

Erik A
Erik A

Reputation: 32642

If you want to reference something on a subform or subreport, you need to specify you want to reference a property of the form or report itself, and not the subform control:

[Forms]![mainFormN]![SubformN].Form![gCalc] 

Upvotes: 1

Related Questions