Microsoft KB Archive/122587

{| = DOCERR: SET CONFIRM ON Does Not Work as Documented =
 * width="100%"|

ID: Q122587

The information in this article applies to:


 * Microsoft FoxPro for Windows, versions 2.5, 2.5a, 2.5b, 2.6, 2.6a
 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, 2.5b, 2.6, 2.6a
 * Microsoft FoxPro for Macintosh, version 2.5b, 2.5c, 2.6a
 * Microsoft FoxPro for UNIX, version 2.6

SUMMARY
The documentation for SET CONFIRM ON states that you must press the ENTER or TAB key to leave an input field. This is not the case. You can press the RIGHT ARROW key repeatedly; when the cursor reaches the end of the field, it will move to the next field on the screen.

Steps to Demonstrate True Behavior of the SET CONFIRM ON
1. Type USE in the command window, and press the ENTER key.

2. Type CREATE SCREEN Test in the command window, and press the ENTER key.

3. Position two fields on your screen. Select the Program menu pad; then

select the generate option. 4. Type SET CONFIRM ON in the Command window, and press the ENTER key. 5. Type DO TEST.SPR in the Command window, and press the ENTER key.

Notice how the cursor moves out of the first input field when you press the RIGHT ARROW key.

Additional reference words: FoxWin FoxDos FoxMac FoxUnix 2.60 2.50 2.50a 2.50b 2.50c 2.60a docerr KBCategory: kbprg kbui kbdocerr KBSubcategory: FxprgGeneral
 * }