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

Change Page Index On Tab Control Upon Update of Combo Box 1

Status
Not open for further replies.

MattMeat

Programmer
Nov 6, 2001
38
0
0
US
Hello,

I have a "Service Order Entry" Form that I'm making for the warehouse here at work. On this form I have a tab control with 2 tabs. Each Tab page has a subform on it. The subforms are called "MemoItems" and "Tasks". The field on the form just before tab control is called "CompletedBy".

"MemoItems" has a page index of "0" as far as the tab goes, so it shows all of the time. I was wondering if anyone could tell me how to make the "Tasks" subform (the other tab) show after update of "CompletedBy"??

Any help would be great
Thanks,
Matt

 
Pages have object names. The defaults are Page1 and Page2. Set the focus to the tab in question in the After Update of the CompletedBy box.

Page2.Setfocus

p.s. If you changed the names of the pages then you replace
Page2 with "What ever you called it".Setfocus

ljprodev@yahoo.com
ProDev, MS Access Applications B-)
 
Thanks a lot Lonnie,

That is exactly what I wanted to know. It worked out great.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top