BUG: Can't Enter Period in a Text Box with Scientific NotationID: Q138607 The information in this article applies to:
SYMPTOMSIf a text box that has a Scientific Notation format and a picture clause of Numeric (for example: 99999.999), when you press the Period key on the keyboard to enter a period in the text box, the focus moves immediately to another object.
CAUSEThere is a format conflict between the scientific notation format and the numeric picture clause.
WORKAROUNDEither remove the numeric picture clause, and write code to validate the data, or remove the scientific notation format.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONNumbers displayed in scientific notation are treated as text. If you place a picture clause on the text box that displays numbers in scientific notation, a conflict between the two formats is created. You may enter numeric data but as soon as you enter a period, focus is removed from the text box. Steps to Reproduce Problem Run the following program, which demonstrates the behavior described in the SYMPTOMS section:
When you run this program, press the TAB key to move to the text box and
enter numbers. If you attempt to enter a period in the text box at any
time, the focus is moved immediately to another object on the form.
KBCategory: kbprg kbbuglist KBSubcategory: FxprgGeneral vfoxwinbuglist3.00 buglist3.00b buglist5.00 Additional reference words: 5.00 3.00 3.00b scientific textbox kbvfp300 kbvfp500 kbvfp600
|
Last Reviewed: August 10, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |