Is there a way to program how a textbox reacts to your cursor when the field is already populated (either by default value or by manual entry?)
This doesn't seem consistant in my DB. In some textboxes the cursor will highlight the text and then move on without deleting the data. In other areas when you tab into the textbox it will remove the data and you will only get a cursor replacing the data with a null value. At other times the cursor will be blinking at the front of the text and the user will need to go to his/her mouse to highlight the data in order to replace it.
To make things even more confusing, it does seem to matter if the field is a text field or a numeric field.
I've done some research and found this code, but it doesn't seem to work on a numeric field.
Private Sub GlassQty_Enter()
Me!GlassQty.SelStart = Me!GlassQty.SelLength
End Sub
Any help is greatly appreciated!!!
This doesn't seem consistant in my DB. In some textboxes the cursor will highlight the text and then move on without deleting the data. In other areas when you tab into the textbox it will remove the data and you will only get a cursor replacing the data with a null value. At other times the cursor will be blinking at the front of the text and the user will need to go to his/her mouse to highlight the data in order to replace it.
To make things even more confusing, it does seem to matter if the field is a text field or a numeric field.
I've done some research and found this code, but it doesn't seem to work on a numeric field.
Private Sub GlassQty_Enter()
Me!GlassQty.SelStart = Me!GlassQty.SelLength
End Sub
Any help is greatly appreciated!!!