Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 209075 - Last Review: July 15, 2004 - Revision: 1.2
ACC2000: Unexpected Pointer Behavior in Text Box with Input Mask
This article was previously published under Q209075
Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
When you click in a text box that has a defined
InputMask property, the insertion point remains where it was in the text box when you clicked the mouse button instead of moving to the beginning of the text box. This behavior occurs whether there is data in the text box or not.
Press F2 to place the insertion point at the beginning of the text box, or
use the TAB key to navigate to the text box instead of clicking in the text
box.
An input mask uses predefined placeholders in the text box. If you press
TAB or ENTER to move to the text box, the insertion point is placed
at the beginning of the input mask. If you enter the text box by clicking
in it, the insertion point remains where it was when you clicked the mouse
button.
You can make the insertion point move to the beginning of the text box
automatically by creating a macro with the following action and calling it from the text box's
On Click property:
Action Action Arguments
----------------------------------------
SendKeys Keystrokes: {F2}
Wait: No
For more information about macro basics, click
Microsoft Access Help on the
Help menu, type
macros: what they are and how they work in the Office Assistant or
the Answer Wizard, and then click
Search to view the topics
returned.
APPLIES TO
- Microsoft Access 2000 Standard Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate