Article ID: 199006 - Last Review: October 15, 2002 - Revision: 1.0

BUG: Issuing PACK <table name> Causes Fatal Error

This article was previously published under Q199006

On This Page

Expand all | Collapse all

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 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 <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.


APPLIES TO
  • Microsoft Visual FoxPro 6.0 Professional Edition
Keywords: 
kbbug kbpending KB199006
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations