次の方法で共有


How to: Import from Microsoft Excel

When you import worksheet data, Visual FoxPro uses the first row in your Microsoft Excel worksheet to determine the data types of the fields in the new table. If the first row has literal text headings for each column, all the fields in the table will be character fields, even if the rest of the rows contain numeric data.

To make sure fields have the appropriate data type

  • In Microsoft Excel, modify the worksheet so that the first row contains the first record of data you want in the table.

    Warning

    If a field in your Microsoft Excel worksheet has a field length of 255, that field is truncated to 254 when it is imported to a Visual FoxPro table.

See Also

Tasks

How to: Import Data with the Import Wizard

Concepts

Appending Data

Importing Data