home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / FOXP-WIN.300 / DISK7 / VFP7.CAB / GENDBC.TXT < prev    next >
Encoding:
Text File  |  1995-01-11  |  818 b   |  29 lines

  1. The program GENDBC is used to generate a program that can "re-create" a database.
  2.  
  3. Parameters:
  4.  
  5. cOutFile - A character string that contains the name of an output file.
  6.            This filename can contain path information and an extension.
  7.            If no extension is supplied, the default extension ".PRG" will
  8.            be used.
  9.  
  10.  
  11. Notes:
  12. This program will only work on the currently active database.
  13.  
  14. Example 1:
  15. OPEN DATABASE MyDatabase
  16. DO gendbc WITH "MyData.PRG"
  17.  
  18. Results:
  19. A program will be created called "MyData.PRG" and will contain
  20. code to re-create the database MyDatabase.
  21.  
  22. Example 2:
  23. SET DATABASE TO Main
  24. DO gendbc WITH "c:\vfp\main"
  25.  
  26. Results:
  27. A program will be created called "main.PRG" located in the "C:\VFP"
  28. directory and will contain code to re-create the database Main.
  29.