FIX: ON KEY LABEL with CTRL+N in Browse Window Causes Beep

Last reviewed: September 22, 1997
Article 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 "{CTRL+N}"
   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


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: September 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.