# File Import to Table

> Kalipso 5.0 documentation · https://doc.sysdevmobile.com/kalipso/5.0/developing/form/actions/actions-description/group-files/file-import-to-table

Import a text file to a local table.

Action available for the following operating systems:

-d4a54d199c0ad0f6bafe31121399c7f2.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.
:::
