BUG: ALT+<Key> Clears GET Field with Uppercase Formatting

Last reviewed: April 18, 1995
Article ID: Q115001
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.5, 2.5a, 2.5b

SYMPTOMS

If a GET field is formatted to be uppercase and ALT+<any key> is pressed at the beginning of the field (for example, ALT+F to activate the File menu), the GET field's display will be cleared. Moving to another field restores the original contents of the GET field's display.

This behavior does not occur in FoxPro for Windows.

RESOLUTION

Instead of using a format, use the UPPER() function to convert the contents of the field to uppercase in the VALID clause.

STATUS

Microsoft has confirmed this to be a problem in FoxPro versions 2.5, 2.5a, and 2.5b for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. USE the CUSTOMER database in the TUTORIAL subdirectory.

  2. Create a new screen and place a GET field for the COMPANY field on the screen.

  3. In the Field dialog box, choose the Format button and select the To Upper Case check box under Editing Options. Choose OK. "@!" will appear in the Format box.

  4. Place a GET field for the CONTACT field on the screen. Do not format this GET field.

  5. Generate the screen and run (DO) the .SPR file.

  6. Press ALT+B (or any other character except 9, 0 (zero), D, R, and the characters that activate menu items). The contents of the COMPANY field will disappear.

  7. Press TAB to move to the next field in the screen. The contents of COMPANY field will be restored.


Additional reference words: FoxDos 2.50 2.50a 2.50b buglist2.50
buglist2.50a
buglist2.50b upper case capital letters
KBCategory: kbdisplay kbbuglist
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 18, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.