FIX: Packing a Table Causes a "File Does Not Exist" Error

Last reviewed: October 20, 1997
Article ID: Q121352
2.5x 2.60a MACINTOSH kbother kbfixlist kbbuglist kberrmsg

The information in this article applies to:

  • Microsoft FoxPro for Macintosh, versions 2.5x, 2.6a

SYMPTOMS

Packing a table that contains deleted records causes the following error message:

   File <name> does not exist.

This error message occurs when you are issuing a PACK command even though the table name is still listed on the status bar and the table also appears in the View window. Browsing the table causes an "Internal Consistency Error," which causes FoxPro to quit.

CAUSE

The folder that contains the table has a period at the end of its name.

RESOLUTION

Remove the period from the end of the folder name. For example, change the folder name so that it becomes "TEST", not "TEST."

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Macintosh.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a folder on the Macintosh Desktop called "test" followed by a period ("test.").

  2. In the Command window, type:

         CREATE TABLE ;
         "macintosh harddrive:desktop folder:test.:sample.dbf" (name c(20))
    

    NOTE: The path may vary depending on the hard disk drive name. You will also not be able to set the DEFAULT to the "TEST." folder. Doing so will generate an "Invalid Path or Filename" error message.

  3. In the Command window, issue the following commands:

          APPEND BLANK
          DELETE
          PACK
    

    The "File Does Not Exist" error will occur after you issue the PACK command.

  4. In the Command window, issue the following command:

         BROWSE
    

The "Internal Consistency Error" message will occur.


Additional reference words: FoxMac 2.50b 2.50c 2.60a fixlist3.00b VFoxMac
buglist2.50b buglist2.50c buglist2.60a crash delete remove lost disappear
terminate unexpectedly ice
KBCategory: kbother kbfixlist kbbuglist kberrmsg
KBSubcategory:
Keywords : kbbuglist kberrmsg kbfixlist kbother
Version : 2.5x 2.60a
Platform : MACINTOSH
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.