Default value and cursor position

E

EC

I have a text field on a form where I added a default value
(because people were abbreviating the field,causing
problems later). I also added the following OnEnter code
to place the cursor at the end of the default value but
I'm getting a RunTime Error '13', Type Mismatch. I have
something similar in a subform and that's works fine.
Code:
Me![PartInv].SelStart = Len(Me![PartInv])
Any ideas on what my error is?
 

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