# File Import to Table

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-files/file-import-to-table
>
> Imports a delimited text file into a local table, with record delimiters, field separator, column mapping, trimming and duplicate options.

Import a text file to a local table.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

### Parameters

_General_

* **File** _\<string> -_ The name of the file to import.
* **Table** _\<unquoted string> -_ The name of the table to import the data.
* **Start of Record** _\<unquoted string> -_ The string that identifies the start of the record in the text file. This parameter is coded.
* **End of Record** _\<unquoted string> -_ The string that identifies the start of the record in the text file. This parameter is coded.
* **Field Separator** _\<unquoted string> -_ The string separator for the elements between Start of Record and End of Record. This parameter is coded.

_Details_

* **Abort on Error** _\<unquoted string> -_ Defines if the user wants to abort this action in case of error or not. The possible values of this parameter are: _Yes_, _No_ or _dynamic_.
* **Trim Strings** _\<unquoted string> -_ This parameter defines if the user wants to trim the strings or not. The possible values of this parameter are: _Yes_, _No_ or _dynamic_. This parameter allows the user to remove spaces at rigth of the readed value from file, only when the column's type is String.

:::info
For more information of this trim action please see the documentation about the function Trim.
:::

* **Replace Duplicates** _\<unquoted string> -_ This parameter defines if the user wants to replace the duplicate values or not. The possible values of this parameter are: _Yes_, _No_ or _dynamic_.
* **Delete Source File** _\<unquoted string>_ - This parameter defines if the user wants to delete the source file or not. The possible values of this parameter are: _Yes_, _No_ or _dynamic_.

_Columns_

* **Column** _\<unquoted string> -_ The name of the table column where the data is imported.
* **Type** _\<unquoted string> -_ The type of the data to be imported. The possible values are:
  * String
  * Numeric
  * Date
  * Time
  * Date Time
  * Dynamic
* **Mask** _\<unquoted string> -_ Defines if the user wants to apply a mask to the imported values.
* **Length** _\<numeric> -_ Defines the length of the imported data.
* **Decimal Separator** _\<string> -_ Defines a string separator that is used to separate the numeric values.
* **Decimal Part Length** _\<numeric> -_ Defines the length of the numeric part.

_Default Values_

* **Column** _\<unquoted string> -_ Name of the column that user wants to save a default value.
* **Value** _\<string>_ or _\<numeric> -_ The default value that the user wants to save.

:::info
The actions File Open and File Close don't need to be used.
:::
