In the Enter event for the textbox, try:
Me.txtNameOfTextbox.SelStart = 6
That should move the cursor to the end of the 6th character. If you want the
rest of the text highlighted, that can be done also by adding a SelLength
statement after the SelStart statement.
--
Wayne Morgan
MS Access MVP
<jo***@graham.ca> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi, I am trying to get a textbox in a form to display a partial item
entry, i.e. "WER-5-" as most item serial numbers contian this value.
I want the cursor at the end of this text but it is always at the
beginning. How do I get it at the end. I remember at one faking
character input to do something similar but can't remember how I did it.