How to block fields from being available when pressing the tab key - ms-access

I have transformed some fields on my data entry form using code so that the user needs to update them by clicking them with the mouse. Unfortunately, I do not understand how to remove them from the tab order field so that the user with the tab key toggles only through the fields which are not updated by mouse point and clicking.

You can adjust the Tab Stop property of the various controls. For details see
Remove a control from the tab order

Related

MS Access 2016: When TabControl tab regains focus, requery listbox

I have a Tab Control element containing 2 tabs: Tab1 and Tab2. Tab2 contains a ListBox element whose RowSource queries the data that gets submitted in Tab1.
Say the user opens this form containing these 2 tabs. They are originally on Tab1. in the Form_Load event for Tab2, it queries the data it needs to populate its ListBox. Now they switch tabs to Tab1. They enter some data and submit a new record to the corresponding table (the same table that the Tab2 ListBox uses as its RowSource). When the user switches back to Tab2, they don't see this newly added record.
What I have done so far is that when the user clicks anywhere in the ListBox, it calls Requery, and then the record will show up. This isn't enough as it's not intuitive for the user to have to click on the listbox to update its contents.
I have tried putting this Requery code in a Form_Load, Form_Activate, GotFocus, but nothing works. I know you can detect the TabControl clicks, but how can I access the forms and the elements that they contain?
Any ideas on how to requery this listbox whenever the tab gains control?
If you want to add code for a specific tab on a tabcontrol, the most convenient way to do that is to write code in the TabCtl_Change event. That occurs when the tab control is changed. E.g.:
Private Sub MyTabCtl_Change()
If MyTabCtl.Pages(MyTabCtl.Value).Name = "Tab2" Then 'The tab control just changed to your page
'Requery that list box
End If
End Sub
Note that, if you're not using a tab control at all, but a navigation control (which it does sound like, tab controls don't necessarily have subforms on them, and don't have Form_Load events, forms do)
You're most likely looking for the On Activate trigger.
Then, in the code just use Form.Requery or Form.Recalc depending on which you're actually looking to do.
Alternatively, you could use the same control the user is using to submit records to trigger a requery. Although, that would require a specific Form to be called into focus.

Unexpected Tab key behavior in Datasheet form subdatasheet

When I tab through records in my (datasheet) form, the tab key behavior is as expected; Focus moves to the next field, and then at the end of the fields moves to the next record. In forms where I have master-child subdatasheets, when the subdatasheet isn't expanded and the user tabs past the end of a record, focus moves to the next record. This is good / what I want. When a subdatasheet is expanded and the user tabs past the end of the master record, focus moves to the first field in the child subdatasheet. Again this is good / what I want.
What happens on the next tab key press is my issue. Rather than moving focus to the next field in the subdatasheet, focus goes straight to the next record in the master datasheet. I expect and want focus to go to the next field in the subdatasheet.
I have been playing with the tabstops and cycle properties on both the main form, subform, and subform control within the main form, and cannot come to a configuration where I get the behavior I desire.
Solved this now and thought I should log it here. Was a pretty stupid problem caused by an oversight on my part.
Basically, all of the controls on my subdatasheet were being set to locked and tabstop = false, in a procedure I have to apply control settings by control name. So I'd actually made those settings a while ago, forgotten, and then assumed that the user should be able to tab through them.
Obviously Access was hitting the subdatasheet control, going "no controls available to tab through here", and so immediately exiting the subdatasheet control.
When I was trying in code to set focus to any of the controls, the reserved error 2950 must've been because the controls weren't tab-stoppable.

Extjs 5.1 tab order is not working in the form with dynamically created textfields

I have a form that has some textfields and combos with a vbox layout. These components are created dynamically after pressing one button. The tab order seems that is not working. The cursor doesn't go from one textfield to the next one by pressing the tab. What am i missing and the tab order is not working? In case the form is declared statically as view-controller, the tab order is working automatically.
You can set tab order via tabIndex property.

To navigate from one movieclip to other by pressing TAB in as3

In a registration page,i want to move to next field,when i click tab from keyboard.I have implemented ENTER key for submnission,but i cant move to next field when pressing TAB
Setting the tabIndex to sequential values should be enough, maybe tabEnabled too.....
textfieldOne.tabIndex=1;
textfieldTwo.tabIndex=2;
textfieldOne.tabEnabled=true;
textfieldTwo.tabEnabled=true;

Prevent entire field in Access form from being highlighted

When I scroll to the next record in an Access form, whatever field I am in gets highlighted once scrolled to the next record. How do I prevent the highlight of the entire field?
Users are having issues where they are accidentally deleting with one click because the entire field is highlighted.
You will find the behaviour set under Options, Behaviour Entering Field.
See also: http://msdn.microsoft.com/en-us/library/aa172326(v=office.11).aspx