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