Public Function GetFirstVisibleControl(f As Form) As Control
Get the control on the form with the lowest tab index.
Control must be visible, have a tab stop, and be enabled.
Datasheet or Continuous Form Related
Get the control on the form with the lowest tab index.
Control must be visible, have a tab stop, and be enabled.
Get the control on the form with the highest tab index.
Control must be visible, have a tab stop, and be enabled.
Go to the first visible control on the form.
Go to the last visible control on the form.
Is the record selected in the datasheet or continuous form the first record ?
Move to the start of the datasheet
Is the record selected in the datasheet or continuous form the first record ?
Requery and move to the start of the datasheet