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

Last reviewed: June 27, 1995
Article ID: Q115115
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.50, 2.5a, 2.5b, 2.6

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


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: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.