Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tale of two tabs

Status
Not open for further replies.

breilly192

Technical User
Nov 19, 2002
16
US
I created a form to be used for entering data. The form has a header section and two tabs - page 1 and page 2 - with data from each going into different tables (primary key is the same) in the detail section.

How could I make the second tab invisible and then be made visible only after the record from page 1 has been saved? In other words, how would you change the page properties of second page from invisible to visible? I didn't find an action argument for this within the macro builder.
 
On the last control on Page1, on the AfterUpdate event type:

Me![Page2].Visible = False

Neil
 
I mean, first set the visible property on Page2 to No on its' property sheet. Then on the AfterUpdate event type:

Me![Page2].Visible = True

I had it backwards.

Neil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top