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

ID: Q129572

2.50x 2.60 2.60a 3.00 | 2.00 2.50x 2.60 2.60a | 2.50x 2.60a | 2.60

WINDOWS               | MS-DOS                | MACINTOSH   | UNIX
kbtool

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

Keywords          : FxtoolFormdes 
Version           : 2.50x 2.60 2.60a 3.00 | 2.00 2.5
Platform          : MACINTOSH MS-DOS UNIX WINDOWS


Last Reviewed: April 5, 1996
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.