Getting the curser to beginning of one field only

  • Thread starter Thread starter Alan C
  • Start date Start date
A

Alan C

I've set the curser in Tools to highlight whole fields but
want to be able to set selected fields to beginning of
field placement. Is there an SQL or visual basic statement
that I could do it with, in the field's property for "On
enter"? Or another way?
 
I've set the curser in Tools to highlight whole fields but
want to be able to set selected fields to beginning of
field placement. Is there an SQL or visual basic statement
that I could do it with, in the field's property for "On
enter"? Or another way?

In the control's Enter event:
Me![ControlName].SelStart = 0

The above will only work if you tab into the control, not if you
select the control with the cursor.
 
Back
Top