home *** CD-ROM | disk | FTP | other *** search
- The program GENDBC is used to generate a program that can "re-create" a database.
-
- Parameters:
-
- cOutFile - A character string that contains the name of an output file.
- This filename can contain path information and an extension.
- If no extension is supplied, the default extension ".PRG" will
- be used.
-
-
- Notes:
- This program will only work on the currently active database.
-
- Example 1:
- OPEN DATABASE MyDatabase
- DO gendbc WITH "MyData.PRG"
-
- Results:
- A program will be created called "MyData.PRG" and will contain
- code to re-create the database MyDatabase.
-
- Example 2:
- SET DATABASE TO Main
- DO gendbc WITH "c:\vfp\main"
-
- Results:
- A program will be created called "main.PRG" located in the "C:\VFP"
- directory and will contain code to re-create the database Main.
-