Getting the curser to beginning of one field only

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?
 
F

fredg

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top