PRB: FoxPro for Windows Allows Logical Fields with Widths > 1

ID: Q115115

The information in this article applies to:

SYMPTOMS

If KEYCOMP is set to WINDOWS, you can create a logical field with a width greater than 1. However, you cannot do this with SET KEYCOMP TO DOS.

MORE INFORMATION

Steps to Reproduce Problem

1. Type the following in the Command window:

      SET KEYCOMP TO WINDOWS
      CREATE test

2. Type a field name, but do not press TAB or ENTER.

3. Click the Type popup so that it is open, but don't choose anything.

4. Type "L" (without the quotation marks).

5. Click anywhere except in the Type popup.

6. Save your table.

7. In the Command window, type the following:

      MODIFY STRUCTURE

In step 6, the field is specified as type logical with a length of 10. At this point, you can adjust the width from 1 to 20. However, after step 7, you can no longer change the width of the field.

Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995