The information in this article applies to:
SUMMARY
Gendbc.prg is a program file that is included with Visual FoxPro and is
used to generate code for the purpose of rebuilding a database container
(.DBC) file. It is installed by default in the VFP30\Tools\Gendbc
directory. Once this program is run with your database open, it will
generate code that will recreate the .DBC file, any tables and indexes, and
any persistent relations that exist in the database. If any changes are
made to the structure of your database, you must rerun Gendbc.prg for the
changes to be reflected in the code generated by it.
MORE INFORMATION
While its main purpose is to create code for rebuilding a database (.DBC)
file, Gendbc.prg can also be used for a variety of other purposes. One such
purpose would be for creating code for rebuilding indexes that are attached
to the tables contained in the database.
These segments of code can be placed into a separate program file,
procedure, function, stored procedure, or method and can be called at any
time to rebuild the indexes of the tables that are in the Testdata.dbc
database. You can execute Gendbc.prg with your database open and it will
generate similar code for recreating your database and any indexes attached
to the tables contained in it.
Additional query words: VFoxWin Utilities Tools CDX DBC
Keywords : kbcode FxtoolGeneral |
Last Reviewed: August 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |