I have a calculated control in sub report called "total-price". Now I want to reference this control value to a new control in main report. Is there any body to help ?
A calculated field in subreport is not being referenced in Mainreport
Collapse
X
-
Tags: None
-
You can reference controls on subforms/subreports. I know the exact wording for subforms, so I'll give you that and make the guess on the subreports :)
Note: the subform_name is not necessarily the name of the form inside the subform control. If you use the wizard, it defaults to the same, but you can change it. You need to use the name of the subform control.Code:Me.Subform_Name.Form.Control_Name
Now for my guess on the subreport:Unfortunately I don't have a report that has a subreport so I can't test this, but I'm almost positive that it is correct.Code:Me.Subreport_Name.Report.Control_Name
Comment