Microsoft KB Archive/98364

{| = FIX: ON KEY LABEL with CTRL+N in Browse Window Causes Beep =
 * width="100%"|

ID: Q98364

2.50 MS-DOS kbprg kbfixlist kbbuglist

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, version 2.5

SYMPTOMS
In a FoxPro for MS-DOS program, using the CTRL+N combination with an ON KEY LABEL command to append a blank record in a Browse window causes a beep to occur and/or a musical note character to appear in the Browse window.

For example, if you are using the following commands

ON KEY LABEL F10 KEYBOARD &quot;{CTRL+N}&quot; USE dbf BROWSE when the F10 key is pressed, a blank record is not appended; instead either the computer beeps or a musical character appears. NOTE: The above example works in the Command window.

RESOLUTION
To work around this problem, assign to the ON KEY LABEL command a procedure that performs an APPEND BLANK command. For example:

ON KEY LABEL F10 DO add USE dbf BROWSE

PROCEDURE add APPEND BLANK

STATUS
Microsoft has confirmed this to be a problem in FoxPro 2.5 for MS-DOS. This problem was corrected in FoxPro 2.5a for MS-DOS.

Additional reference words: FoxDos 2.50 buglist2.50 fixlist2.50a KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: Solution Type : kbfix
 * }