Hopefully this is an easy one?
The following code places a previously entered date into the Trx Date field on the Shop Floor Activities Transaction entry screen. After this happens, the cursor is in the leftmost position and the field is not highlighted, so some keyboard or mouse maneuvering is necessary to highlight the field to override the date. How can I highlight the field with VBA code, just like it would if you were tabbing through the fields? Thanks.
KB
Private Sub TrxDate_GotFocus()
macForm.TrxDate.Text = macForm.Tag
(highlight the whole field for easy editing)
End Sub
The following code places a previously entered date into the Trx Date field on the Shop Floor Activities Transaction entry screen. After this happens, the cursor is in the leftmost position and the field is not highlighted, so some keyboard or mouse maneuvering is necessary to highlight the field to override the date. How can I highlight the field with VBA code, just like it would if you were tabbing through the fields? Thanks.
KB
Private Sub TrxDate_GotFocus()
macForm.TrxDate.Text = macForm.Tag
(highlight the whole field for easy editing)
End Sub