G
Guest
I am not getting a response on the Forms group but no
answers yet. Hopefully someone here can help
I have a text field on a form where I added a default value
(because people were always dropping the prefix required
on the PartInv field,causing problems later. It's a
temporary fix until we an link/import the inventory
tables). 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?
answers yet. Hopefully someone here can help
I have a text field on a form where I added a default value
(because people were always dropping the prefix required
on the PartInv field,causing problems later. It's a
temporary fix until we an link/import the inventory
tables). 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?