Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move to next row on Enter 1

Status
Not open for further replies.

pgoulet

IS-IT--Management
Dec 9, 2002
45
US
I have a datasheet (sub form) with 6 columns, the left most column is already populated. The clerks want/need to be able to move to the next row upon pressing enter, rather than moving to the adjacent column.

How would I set this up in VBA.

Thank you.


 
Menu:

[tt]Tools --> Options --> Keyboard Tab [/tt]

Check the [tt]Next Record[/tt] radio button in the [tt]Move After Enter[/tt] frame.

VBSlammer
redinvader3walking.gif

"You just have to know which screws to turn." - Professor Bob
 
Thanks for the response. I already have that option set to work that way.

I wanted to be able to export the program and not have to worry about the condition of that option.

Any VBA idea?

Thanks
 
The routine here thread68-986282, moves down columns when the tab key is used, could be a starting point?

Else you could issue a

[tt]application.setoption "Move After Enter", 2[/tt]

to alter the setting programaticly.

Roy-Vidar
 
Roy,

Thanks for the tip on that thread. That certainly looks promissing.

I will give it a shot and let you know. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top