FIX: .dct File Grows Larger After Each Compile
Article ID: 163959
Article Last Modified on 5/12/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 3.0b Standard Edition
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
This article was previously published under Q163959
SYMPTOMS
If a database container has stored procedure code in it, the .dct file of
the database container increases in size each time
- A project containing the database is rebuilt with the option
"Recompile All Files" checked.
- The COMPILE DATABASE command is issued.
The increase in size depends on the amount of code that is in the stored
procedure.
RESOLUTION
There are a couple of ways to reduce the size of the .dct file:
- Open the database container and issue the PACK DATABASE command.
- Modify the database using the Database Designer, and click Clean Up
Database from the Visual FoxPro Database menu.
Remember that the database must be opened exclusively and no table or view
in the database can be open.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This has been corrected in Visual
FoxPro 6.0.
Additional query words: kbvfp600fix
Keywords: kbbug kbfix kbprogramming KB163959