Tab Control: Moving To The Next Tab

C

Charles Phillips

Hello,
I have a db form in MS-Access 97-2000.
The form has three (3) tabs on it. Each tab has 5 - 12 fields.
I can tab to each field. When I get to the last field, I want to tab to the
next tab control.
I downloaded an example (CurrentTab) from Microsoft (MS), but it did not
show me what I needed to know.
The form (example) MS provided, uses a button to get to the next tab. I do
not want to use a button, but to automatically go to the next tab from the
last field, in the previous tab and display a message about the tab being
selected... I have searched several places. Can someone point me to an
example/sample(s)????


Thank you,

Charles L. Phillips
 
N

Nick 'The database Guy'

Hi Charles,

All you need to do is place in the AfterUpdate event of the last
control of one sheet
me.NameOfNextContol.SetFocus.

Good luck,

Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top