Previous Topic

Next Topic

Book Contents

Book Index

Importing data from a text file

Servoy can import data from plain text files (.TXT) into SQL tables. The imported files can:

Commonly used import formats are tab separated (.TAB) and
comma separated (.CSV) files.

To import data from a text file:

Embedded GIF File Template 5_80

You will see the following Import dialog:

Embedded GIF File Template 058

Embedded GIF File Template 2

In this dialog, you should see an overview of your import data:

Embedded GIF File Template 065

For your import, you can choose:

(if this option is enabled - not "grayed out").

To use a separator:

Embedded GIF File Template 065

(only if your field names are in the first line of the text file).

A text qualifier is a character that is used to separate text fields.

For example, comma separated files (CSV) generally
show " (double quotes) as a text qualifier.

Embedded GIF File Template 065

For more information, see Importing dates.

Embedded GIF File Template 058

When the data has been imported, you will see:

Embedded GIF File Template 058

Press Finish to complete the import process.

See Also

Importing and Exporting Data

Introduction to importing and exporting

Importing data from an Excel file

Importing dates

Cancelling the importing of data

Exporting data as a text file

Exporting data as an Excel file

Cancelling the exporting of data