Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
'General Declarations section of the form
Private ActiveGrid as DataGrid
Private Sub Form_Load()
Set ActiveGrid = DataGrid1 'Where DataGrid1 has a TabIndex of 0
End Sub
Private Sub DataGrid1_GotFocus()
Set ActiveGrid = DataGrid1
End Sub
Private Sub DataGrid2_GotFocus()
Set ActiveGrid = DataGrid2
End Sub
Private Sub cmdEdit_Click()
With ActiveGrid
.SetFocus
.EditActive = True
End With
End Sub