Microsoft KB Archive/121781

{| = FIX: Error Browsing Table Created from Modified Structure =
 * width="100%"|

ID: Q121781

2.60a MACINTOSH

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. This problem was corrected in Visual FoxPro 3.0b for Macintosh.

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: fixlist3.00b VFoxMac FoxMac buglist2.60a errmsg err msg crash halt abort terminate close exit KBCategory: KBSubcategory:

Keywords         : kberrmsg Version          : 2.60a Platform         : MACINTOSH Solution Type    : kbfix
 * }