🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-access
Article #290

Re: cusor move out subform

#290
From: Mark Flipse
Date: Thu, 10 May 2001 11:28
35 lines
2616 bytes
Kathy,

You could use the OnExit event for the last control on your subform.
For instance, you could use the following code to move the focus to a
control on the mainform:

Forms!frmMain.SetFocus
DoCmd.GoToControl "ctlMain"

(frmMain = name of your main form; ctlMain = name of control on main form)

Mark


"kathy" <qiangwang@softhome.net> wrote in message
news:q7nK6.54952$_f3.1049822@news20.bellglobal.com...
> In a survey design, I added 2 subform in main form, each subform contained
4
> check box for the multiple response question. I  pressed Tab key to move
the
> cursor to enter data in form view, everytime when the cursor reached the
> last check box in one subform, the cursor went back to the first check box
> again. I had to press Ctr+Tab to force the cursor get out of that subform
> when it reached the end of the subform and continue data enter the next
> field. This is not convenient for data entering people. Is there any other
> solution in setting so that just continue pressing Tab key(or Enter key)
to
> get the cursor move out of the subform when it reaches the end of that
> subform?
>
> TIA
>
> Kathy
>
>
Technical Details
Message-ID: <9ddu14$f9v$1@news1.xs4all.nl>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail
References: <q7nK6.54952$_f3.1049822@news20.bellglobal.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111a5a,287ca8e6ca59a3d3
X-Google-Attributes: gid111a5a,public
X-Google-Thread: ff0ac,287ca8e6ca59a3d3
X-Google-Attributes: gidff0ac,public
X-Google-Thread: 10c7bc,287ca8e6ca59a3d3
X-Google-Attributes: gid10c7bc,public
X-Google-Thread: 11315a,287ca8e6ca59a3d3
X-Google-Attributes: gid11315a,public
X-Google-Thread: f8db2,287ca8e6ca59a3d3
X-Google-Attributes: gidf8db2,public
X-Google-ArrivalTime: 2001-05-10 04:28:36 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!not-for-mail
From: "Mark Flipse" <mflipse@geentroep.psy.vu.nl>
Newsgroups: comp.databases.ms-access,es.comp.bd.ms-access,it.comp.database.access,microsoft.public.access.activexcontrol,microsoft.public.access.conversion
Subject: Re: cusor move out subform
Date: Thu, 10 May 2001 13:28:34 +0200
Organization: XS4ALL Internet BV
Lines: 37
Sender: pravda@node10d3b.a2000.nl
Message-ID: <9ddu14$f9v$1@news1.xs4all.nl>
References: <q7nK6.54952$_f3.1049822@news20.bellglobal.com>
NNTP-Posting-Host: node10d3b.a2000.nl
X-Trace: news1.xs4all.nl 989494116 15679 24.132.13.59 (10 May 2001 11:28:36 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 10 May 2001 11:28:36 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400