Microsoft KB Archive/115001

{| = BUG: ALT+ Clears GET Field with Uppercase Formatting =
 * width="100%"|

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

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:
 * }