FIX: IMPORT Truncates Character Fields from .WK3 FileLast reviewed: October 14, 1997Article ID: Q105421 |
2.5x 2.60 | 2.5x 2.60
MS-DOS | WINDOWSkbprg kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSUsing the IMPORT command to import a Lotus 1-2-3 WK3 worksheet into FoxPro truncates any character-based fields to 8 characters.
RESOLUTIONTo work around this problem, create a new structure for the file to be imported, and use the APPEND FROM command to import the data. For the example shown below under "More Information," issue the following commands:
CREATE TABLE sheet1.dbf (alpha C(25)) APPEND FROM "SHEET1.WK3" TYPE WK3For more information about creating tables through the FoxPro user interface, see the "New" section of the chapter devoted to the File menu in the "User's Guide." APPEND FROM is designed to add records to the end of the table in the current work area. For more information about APPEND FROM, see the "Language Reference" manual. The relevant section of the "Database Menu" chapter in the "User's Guide" explains how to append records to a table using the FoxPro user interface.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro 2.6a for Windows and MS-DOS.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional reference words: FoxWin FoxDos 2.50 2.50a 2.50b 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |