A
amywolfie
Hi:
I have a tab control on a main form with 4 tab pages, each containing
a different sub-form. The users choose ST/COUNTY for 2 unbound combo
boxes on the main form, which triggers After Update.
When the user clicks to tab Page 1, I want to hide fields where values
are null:
Me.labVendorDetail1.Visible = Not IsNull(Me.VendorDetail1)
Me.VendorDetail1.Visible = Not (IsNull(Me.VendorDetail1))
Me.labVendorDetail2.Visible = Not IsNull(Me.VendorDetail2)
Me.VendorDetail2.Visible = Not (IsNull(Me.VendorDetail2))
What object/event should I use for this? I have tried the After
Update event on the County cbo box, On Change for the tab object, etc.
Thanks.
===
I have a tab control on a main form with 4 tab pages, each containing
a different sub-form. The users choose ST/COUNTY for 2 unbound combo
boxes on the main form, which triggers After Update.
When the user clicks to tab Page 1, I want to hide fields where values
are null:
Me.labVendorDetail1.Visible = Not IsNull(Me.VendorDetail1)
Me.VendorDetail1.Visible = Not (IsNull(Me.VendorDetail1))
Me.labVendorDetail2.Visible = Not IsNull(Me.VendorDetail2)
Me.VendorDetail2.Visible = Not (IsNull(Me.VendorDetail2))
What object/event should I use for this? I have tried the After
Update event on the County cbo box, On Change for the tab object, etc.
Thanks.
===