Microsoft Knowledge Base Email Alertz

(209075) - 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...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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).

SYMPTOMS

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.

RESOLUTION

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.

MORE INFORMATION

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
				

REFERENCES

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
Keywords: 
kbprb KB209075
       

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