Management of Files in a Source-Controlled Project

After you have put a Visual FoxPro project under source control, you can work with individual files or manage the project as a whole.

Working with Multi-File Components

Some project components in Visual FoxPro actually consist of multiple files: a primary file and one or more implicit files. For example, when you create a form, Visual FoxPro creates an .scx file (the primary file) and an .sct file (the implicit file). The following components have multiple files:

Component Primary file type Implicit file type(s)
Form .scx .sct
Report .frx .frt
Label .lbx .lbt
Class Library .vcx .vct
Menu .mnx .mnt
Table .dbf .fpt, .cdx, .idx
Database .dbc .dct, .dcx

When a developer checks out a component file, such as a form, Visual FoxPro also manages the corresponding implicit file or files. Likewise, when a file is checked back in, or a new file added, Visual FoxPro manages the implicit file or files automatically.

Note   If you generate and compile a menu, you create local .mpr and .mpx files as well. These aren't initially under source control, but you can add them as files to your project, and then put them under source control as you would other files.

See Also

Sharing Files Between Source-Controlled Projects | Checking Out Files | Checking In Files | Discarding Changes | Getting the Latest Versions of Files | Comparing Files or Projects | Checking for Differences in Forms, Reports, and Other Table Files | Developing in Teams | Management of Visual FoxPro Projects Under Source Control