Text "Non" Select

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Friends,

In an Access form, when one tabs to each of the fields the text in each
field is automatically selected. Can anyone help me with the code to tab to
the field to permit a user to add new text to the end of text already in the
field instead of replacing the text already in the field.

Thanks
 
First, it depends on how many fields you want to do this for. If it is most
of the fields, check Tools|Options|Keyboard Tab|"Behavior entering field".

For just a few controls, you would use the SelStart property in the Enter
event of the control.

Me.txtMyTextbox.SelStart = Len(Me.txtMyTextbox.Text)
 

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

Back
Top