How to Find Out Which FoxPro Version Created an .SCX File

Last reviewed: April 4, 1996
Article ID: Q129572
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • 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, versions 2.5b, 2.5c, 2.6a
  • Microsoft FoxPro for UNIX, version 2.6

SUMMARY

This article provides a way to verify the version of FoxPro that was used to create a Screen or a Form (.SCX file).

MORE INFORMATION

Files with an .SCX extension were introduced in FoxPro version 2.0 for MS- DOS. They are FoxPro tables that record information about screens (versions 2.x) or forms (Visual FoxPro version 3.0).

Screens created in FoxPro version 2.x do not contain information about the version of FoxPro used to create them. However, because the structure of an .SCX file is different depending on the version of FoxPro, you can use the FCOUNT() function to count the number of fields in an .SCX file and derive the FoxPro version used to create the file. The following lists the number of fields that an SCX contains for each version of FoxPro. This assumes that no structural change was made to the SCX:

FoxPro Versions                 Number of Fields
FoxPro version 2.0              57 fields
FoxPro versions 2.5x and 2.6x   79 fields
Visual FoxPro version 3.0       23 fields

Visual FoxPro forms now include version information. The Reserved1 field of a Visual FoxPro form contains the version tag VERSION= 3.00. This information is recorded in the record of the form where the PLATFORM field is equal to COMMENTS (the first record in the form).


Additional reference words: VFoxWin 3.00 2.00 2.50 2.50a 2.50b
2.50c 2.60 2.60a
KBCategory: kbtool
KBSubcategory: FxtoolFormdes


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: April 4, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.