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

How do I make cursor move to first field in second tab page

Status
Not open for further replies.

PeggyBall

Technical User
Oct 30, 2006
19
US
Hello -

I have a tabbed form (2 tabs - Member Info and Membership Status) for data entry.

Tab page 1 includes member demographic info (name, address)and below are two sub forms where service position and awards info can be added if applicable.

Tab page 2 contains date joined, and a couple y/n questions.

I would like for the user, upon tab from the last field in the demographic section to prompt "Go to 2nd tab page, add service position, add award or add new record" and move to the first field of the appropriate choice. From that choice, once data is entered, ask the same question (excluding last choice) or new record.

I hope this makes some sense.

Thanks for your help!
 

A Tabbed Page is simply an extension, if you will, of a regular Single Form, so you set the focus as you normally would! You do not have to reference the page name:

YourControlName.SetFocus

The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top