473,386 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 14664
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Eric Kiernan | last post by:
I have a form that I previously created and put a number of text box controls on. Everything previously worked. Now when I enter the form ( in design mode ), I can't move any of the controls to...
0
by: Yoshitha | last post by:
Hi, I want help regarding providing information about form and controls which are presented on the form. when ever user presses f1 if the form has focus then it has to provide information about...
4
by: Vincent Yang | last post by:
I'm using Access 2002. My database is in Access 2000 format. I'm designing a form to collect responses to a 40-item questionnaire. I can fit four list boxes on a screen, so I plan to have 11 tab...
1
by: cwessel | last post by:
I have growers with multiple orchards and blocks in my database. When a query is created, the grower name is repeated for each orchard under that grower. When I create a form, I have the...
3
by: Geoff G | last post by:
I want to prevent the focus moving to the next field in a form after pressing enter. I want to do this for only one specific form, I don't want to change the keyboard behaviour for the whole...
4
by: peshrad | last post by:
Hi ! I'm working with Win 2K and Visual Studio 2003. I have a problem because pressing <ENTER> in a text input control causes a postback of my web form. Here comes some example code (already...
10
by: Robert | last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into some sporadic viewstate errors...usually saying the viewstate is invalid, eventvalidation failed or mac error. My web...
2
by: Peter Stojkovic | last post by:
I need a idea how to program the following. I have a control inherited from textbox. The differnce should be, that the cursor will move to the next control , when the user presses the TAB...
1
by: eljainc | last post by:
Hello, I have a perplexing situation. I am using Visual Studio 2005 SP1 and have created a simple form with two or three textboxes on them. They are not multi-line text boxes. I would like the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.