subforms & tab control

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!!!
 
R

RuralGuy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

REPOST: Bug in tab control? Access 2007 1
Tab Control 2
Tab Order in Access 2
Tab Control 4
Subformss, Tab Controls, and Forms 1
search causes tab selection 2
Requery subform 1
Requery on a Tab Control - OnClick 3

Top