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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TabPages Question

Status
Not open for further replies.

tlaksh

Programmer
Feb 25, 2001
98
US
I have two tabpages on a unbound form. When the form is invoked tabpage2 is not visible. After I choose a value from the list and click on ok button on tabpage1 the other tabpage appears. But if the user click and goes back to tab page 1 to choose another value I want the second tab page to become invisible again.

I tried to set the property changes in the On Click event of tabpage1. But this is not working. How can achieve this??? Any suggestions...Thanks a lot...


PS. I am just learning the ABC's of Access 97 and so ur help is highly appreciated...Thanks again
 
Hello there!
Might I suggest to pitch the ok button (or not) and add this to the after update of your ListBox:

Me.TabPage2.Visible = False
Me.TabPage2.Setfocus

and this to its Got Focus event:

Me.TabPage2.Visible = False

I think this might give you the results you desire!
Gord
ghubbell@total.net
 
Try that again and hit the right button Gord....
Hello there!
Might I suggest to pitch the ok button (or not) and add this to the after update of your ListBox:

Me.TabPage2.Visible = TRUE
Me.TabPage2.Setfocus

and this to its Got Focus event:

Me.TabPage2.Visible = False

I think this might give you the results you desire! Gord
ghubbell@total.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top