A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How can you set tabs between subforms so they will tab to next for



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2009, 02:36 AM posted to microsoft.public.access.forms
blanch2010
external usenet poster
 
Posts: 18
Default How can you set tabs between subforms so they will tab to next for

I have created a form and added 4 subforms to it. How can you get the tabs
from one form to land in the next form without clicking the next form to
activate it?

Hope I'm explaining myself well?

Thanks
Don
  #2  
Old November 9th, 2009, 05:50 AM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default How can you set tabs between subforms so they will tab to next for

On Sun, 8 Nov 2009 18:36:04 -0800, blanch2010
wrote:

I have created a form and added 4 subforms to it. How can you get the tabs
from one form to land in the next form without clicking the next form to
activate it?

Hope I'm explaining myself well?

Thanks
Don


One way to do this is to put an extra unbound textbox on the first subform. It
must be enabled and visible, but you can put it behind another control, and/or
set its size to one twip square so the user can't click into it
unintentionally. Put it last in the Tab order and set its GotFocus event to

Private Sub txtRelay_GotFocus()
Parent!secondsubform.SetFocus
Parent!secondsubform.controlname.SetFocus
End Sub
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.