cubicle said:
In MS Access, if select Options then Keyboard tab, Move After Enter allows
Next Field or Next Record option. Is this option allowed in MS Access
Runtime? If it is not, is there any workaround/alternative?
Thank you for your help!
Yes, you can generally set most, if not all of the options. The a2003 help
is REALLY nice in this regards.
In the code editor, simply hit f1, and type in
set options
The 1st hit will be
setup startup options and options in code...
cut/paste from this help file we get:
Keyboard Tab
Option String argument
Move after enter Move After Enter
Behavior entering Behavior Entering Field
field
Arrow key behavior Arrow Key Behavior
Cursor stops at Cursor Stops at First/Last Field
first/last field
So, in your startup code, a typical runtime setup will look
like:
On Error Resume Next
Application.SetOption "ShowWindowsInTaskbar", False
Application.SetOption "ShowWindowsInTaskbar", False
Application.SetOption "Themed Form Controls", True
Application.SetOption "Show Startup Dialog Box", False
Application.CommandBars.AdaptiveMenus = False
Application.SetOption "Move After Enter", 1 <---- here...
Options follow the same as the options menu, so:
0 = don't move
1 = Next field
2 = next record