DOCUMENT:Q121352  10-NOV-1994  [FOXPRO]
TITLE   :BUG: Packing a Table Causes a "File Does Not Exist" Error
PRODUCT :Microsoft FoxPro
PROD/VER:2.5x 2.60a
OPER/SYS:MACINTOSH
KEYWORDS:kbother 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. We are researching this problem
and will post new information here in the Microsoft Knowledge Base as it
becomes available.

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.

6. 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 buglist2.50b
buglist2.50c
buglist2.60a crash delete remove lost disappear terminate unexpectedly ice
KBCategory: kbother kbbuglist kberrmsg
KBSubcategory:

=============================================================================

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.

Copyright Microsoft Corporation 1994.