J
John
I have access 2002.
I try to sum the a row in the detail section. I put a
calculation on report open. like this.
Report_Open()
{
Me.Controls("Hosp4").ControlSource = "[A1]"
Me.Controls("Hosp5").ControlSource = "[A2]"
Me.Controls("Hosp6").ControlSource = "=[A1]+[A2]"
}
if I comment out:
Me.Controls("Hosp6").ControlSource = "=[A1]+[A2]"
then Hosp4 and Hosp5 show correct number on the report. If
I put back the line:
Me.Controls("Hosp6").ControlSource = "=[A1]+[A2]"
Then All three controls show #name? on the report. What is
wrong with it? All controls in detail section.
Thanks
John
I try to sum the a row in the detail section. I put a
calculation on report open. like this.
Report_Open()
{
Me.Controls("Hosp4").ControlSource = "[A1]"
Me.Controls("Hosp5").ControlSource = "[A2]"
Me.Controls("Hosp6").ControlSource = "=[A1]+[A2]"
}
if I comment out:
Me.Controls("Hosp6").ControlSource = "=[A1]+[A2]"
then Hosp4 and Hosp5 show correct number on the report. If
I put back the line:
Me.Controls("Hosp6").ControlSource = "=[A1]+[A2]"
Then All three controls show #name? on the report. What is
wrong with it? All controls in detail section.
Thanks
John