471,086 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

Move to next control in Form after pressing Enter?

I have a form which is displayed in Datasheet View and would prefer it
if, when entering data, I could use the keyboard as I would when
entering data into a Datasheet.

Is it possible when entering data into a form to get the cursor to
move to the next control after I press the Enter key?

Terry
Nov 12 '05 #1
6 13894
"Terry" <tc*****@merseymail.com> wrote in message
news:38**************************@posting.google.c om...
I have a form which is displayed in Datasheet View and would prefer it
if, when entering data, I could use the keyboard as I would when
entering data into a Datasheet.

Is it possible when entering data into a form to get the cursor to
move to the next control after I press the Enter key?


By default that is what the <Enter> key does. What is it doing on your PC?
Perhaps you just have to adjust your Tab order.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #2
Terry wrote:
I have a form which is displayed in Datasheet View and would prefer it
if, when entering data, I could use the keyboard as I would when
entering data into a Datasheet.

Is it possible when entering data into a form to get the cursor to
move to the next control after I press the Enter key?

Terry


Change the cycle property of the form to Current Record.
Nov 12 '05 #3
On Sat, 20 Dec 2003 18:39:23 -0600, "Rick Brandt"
<ri*********@hotmail.com> wrote:

But only if no button has its Default property set to True.
Better to teach users that Tab moves the cursor from field to field,
and Enter clicks the Default push button. Why fight the way Windows
was designed to operate?

-Tom.
"Terry" <tc*****@merseymail.com> wrote in message
news:38**************************@posting.google. com...
I have a form which is displayed in Datasheet View and would prefer it
if, when entering data, I could use the keyboard as I would when
entering data into a Datasheet.

Is it possible when entering data into a form to get the cursor to
move to the next control after I press the Enter key?


By default that is what the <Enter> key does. What is it doing on your PC?
Perhaps you just have to adjust your Tab order.


Nov 12 '05 #4
"Tom van Stiphout" <to*****@no.spam.cox.net> wrote in message
news:d0********************************@4ax.com...
On Sat, 20 Dec 2003 18:39:23 -0600, "Rick Brandt"
<ri*********@hotmail.com> wrote:

But only if no button has its Default property set to True.
Better to teach users that Tab moves the cursor from field to field,
and Enter clicks the Default push button. Why fight the way Windows
was designed to operate?


The OP did specify Datasheet view. There would be no such button then no?
Actually that's a question I'll have to test. Does the default button still
fire if you press <Enter> in Datasheet view?
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #5
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:bs************@ID-98015.news.uni-berlin.de...
"Tom van Stiphout" <to*****@no.spam.cox.net> wrote in message
news:d0********************************@4ax.com...
On Sat, 20 Dec 2003 18:39:23 -0600, "Rick Brandt"
<ri*********@hotmail.com> wrote:

But only if no button has its Default property set to True.
Better to teach users that Tab moves the cursor from field to field,
and Enter clicks the Default push button. Why fight the way Windows
was designed to operate?


The OP did specify Datasheet view. There would be no such button then no?
Actually that's a question I'll have to test. Does the default button still
fire if you press <Enter> in Datasheet view?


The result of my test is no it does not (A97).
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #6
"Deano" <de*********@hotmail.com> wrote in message news:<%_******************@wards.force9.net>...
Terry wrote:
I have a form which is displayed in Datasheet View and would prefer it
if, when entering data, I could use the keyboard as I would when
entering data into a Datasheet.

Is it possible when entering data into a form to get the cursor to
move to the next control after I press the Enter key?

Terry


Change the cycle property of the form to Current Record.


I found the solution:-)

What was actually happening when I pressed the Enter Key was that I
was creating a new line, but this wasn't apparent as the text boxes
are narrow. Hence I thought that something odd was happening with the
form's properties.

When I looked at Properties, Other in each Text Box I found that Enter
Key Behaviour was set to 'New Line in Field' so I changed it to
Default and now the cursor goes to the next control when I press the
Enter Key.

Thanks for your help
Terry
Nov 12 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Eric Kiernan | last post: by
reply views Thread by Yoshitha | last post: by
4 posts views Thread by Vincent Yang | last post: by
3 posts views Thread by Geoff G | last post: by
10 posts views Thread by Robert | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.