PRB: Number of Records IMPORT/EXPORTed to Spreadsheet DiffersLast reviewed: June 26, 1995Article ID: Q109839 |
The information in this article applies to:
SYMPTOMSIf you use the COPY TO or EXPORT TO commands to export a database to a spreadsheet file type, and then use the APPEND FROM or IMPORT FROM commands to import that spreadsheet back into a database, the number of records FoxPro reports copied (during the export) is one less than the number of records it reports added (during the import).
CAUSEWhen you are copying to a spreadsheet file type, the COPY TO and EXPORT TO commands add an extra record (row) to the beginning of the destination file (spreadsheet). This record contains the names of the database fields and is not included in the FoxPro message that reports the number of records copied, since it is not an actual database record. However, when the APPEND FROM or IMPORT FROM command imports the records (rows) from that same spreadsheet back into a database, the extra record containing the field names is treated like any other record in the spreadsheet, so FoxPro includes it when reporting the number of records added/imported.
MORE INFORMATIONThis information applies to the following file types:
DIF, MOD, SYLK, WK1, WKS, WR1, WRK, XLS Steps to Reproduce Behavior
exported and first and record and field and names |
Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a 2.50b
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |