DOCUMENT:Q121781  10-NOV-1994  [FOXPRO]
TITLE   :PRB: Error Browsing Table Created from Modified Structure
PRODUCT :Microsoft FoxPro
PROD/VER:2.60a
OPER/SYS:MACINTOSH
KEYWORDS:kbprg kberrmsg kbprb

---------------------------------------------------------------------------
The information in this article applies to:

 - Microsoft FoxPro for Macintosh, version 2.6a
---------------------------------------------------------------------------

SYMPTOMS
========

FoxPro quits when attempting to perform a browse on a table, displaying one
of the following error messages:

 - The application "unknown" has unexpectedly quit, because an error of
   type 1 occurred.

   -or-

 - The application "Microsoft FoxPro" has unexpectedly quit, because an
   error of type 1 occurred.

CAUSE
=====

The table FoxPro attempted to browse was created as follows:

1. An initial new table was created by the COPY STRUCTURE EXTENDED command.

2. A record was added to the initial new table.

3. A second new table (which the browse was attempted on) was created by
   the CREATE FROM command.

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

These steps assume that the CUSTOMER.DBF table has been installed in the
TUTORIAL subdirectory in the main FoxPro directory.

1. Type the following in the Command window:

      USE SYS(2004)+"\TUTORIAL\customer.dbf"
      COPY STRUCTURE EXTENDED TO test
      USE TEST
      APPEND BLANK
      REPLACE field_name WITH 'ABC', field_type WITH 'C', ;
        field_len WITH 030, field_dec with 000
      CREATE test2 FROM test

2. Type "BROWSE" (without the quotation marks) in the Command window, or
   double-click TEST2 in the View window.

Note that FoxPro quits, displaying one of the application error messages
described above.

Additional reference words: FoxMac 2.60a errmsg err msg crash halt abort
terminate close exit
KBCategory: kbprg kberrmsg kbprb
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.