TraceyBennet
Technical User
Hi
I need to refer to the visible property of a subform that is on a subform that in turn is on a tab form on my main form within an event procedure - confused, so am I.
What i want to do is something like this:
(Main Form) (Tab form) (1st Sub frm) (2nd Sub frm)
frmMainDataEnty -> tabOne -> frmSubItemInfo -> frmSubItemInfo2.Visible = True
I have tried as many ways as I can find in access help to do this but access 2k keeps saying it cant find specific fields or forms depending on the manner which I refer to it.
I have trued things like:
Forms![frmMainDataEntry]![TabCtl34]![frmTrackInfoMain]![frmTrackInfoMainSub2].Visible = True
[Forms]![frmMainDataEntry]![frmTrackInfoMain].form![frmTrackInfoMainSub2].Form.Visible = True
Can some one put me on the right track as I am at a loss as to what to do next.
Thank you in advance,
Kenny
I need to refer to the visible property of a subform that is on a subform that in turn is on a tab form on my main form within an event procedure - confused, so am I.
What i want to do is something like this:
(Main Form) (Tab form) (1st Sub frm) (2nd Sub frm)
frmMainDataEnty -> tabOne -> frmSubItemInfo -> frmSubItemInfo2.Visible = True
I have tried as many ways as I can find in access help to do this but access 2k keeps saying it cant find specific fields or forms depending on the manner which I refer to it.
I have trued things like:
Forms![frmMainDataEntry]![TabCtl34]![frmTrackInfoMain]![frmTrackInfoMainSub2].Visible = True
[Forms]![frmMainDataEntry]![frmTrackInfoMain].form![frmTrackInfoMainSub2].Form.Visible = True
Can some one put me on the right track as I am at a loss as to what to do next.
Thank you in advance,
Kenny