Microsoft KB Archive/199006

= BUG: Issuing PACK Causes Fatal Error =

Article ID: 199006

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q199006



SYMPTOMS
Issuing PACK 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 clause with the PACK command. Open the table, and then issue the PACK command without any clauses.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are 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 command is issued. If the table is in use, the "File is in use" error occurs.

Steps to Reproduce Behavior
  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: kbbug kbpending KB199006

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.