subforms & tab control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am pulling data from a calculated field in the footer of sub forms that
reside in a tab control on a form. I have controls on the main form to
display the calculated filed from the sub form. the control that gets the
data from the sub form on the 1st tab works great but the control that gets
the data on the 2nd tab does't work. They are being referenced identically. I
tried to use [tabctrl].Pages!PageName.Controls![SubForm].form!SubControl but
that didn't work either?
I can't figure out what the problem is.

Thanks!!!
 
I am pulling data from a calculated field in the footer of sub forms that
reside in a tab control on a form. I have controls on the main form to
display the calculated filed from the sub form. the control that gets the
data from the sub form on the 1st tab works great but the control that gets
the data on the 2nd tab does't work. They are being referenced identically. I
tried to use [tabctrl].Pages!PageName.Controls![SubForm].form!SubControl but
that didn't work either?
I can't figure out what the problem is.

Thanks!!!

Tab controls do *not* affect the referencing. It is as if the Tab control were
not there. All of the controls on all of the "pages" of a tab control *must*
have unique names.
_______________________________________________
hth - RuralGuy (RG for short)
Please post to the NewsGroup so all may benefit.
 
Back
Top