BUG: Issuing PACK <table name> Causes Fatal Error

ID: Q199006


The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 6.0


SYMPTOMS

Issuing PACK <table name> causes the following error:

Fatal error: Exception code = C0000005.
This error only occurs in Visual FoxPro 6.0. The ability to add the table name clause was added in Visual FoxPro 5.0


RESOLUTION

Do not use the <table name> clause with the PACK command. Open the table, and then issue the PACK command without any clauses.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

The PACK command has an undocumented feature of adding the table name to the end of the command. This feature is useful if the table is closed at the time the PACK <table name> command is issued. If the table is in use, the "File is in use" error occurs.

Steps to Reproduce Behavior



  1. In the Visual FoxPro 6.0 Command window, type the following command:
    
          PACK HOME(2)+"\data\customer" 


Note that the fatal error occurs and FoxPro quits.

Additional query words: kbDSupport kbDSE

Keywords : kbVFp600bug KbDBFDBC
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: February 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.