# Localdata To Datatable

Filters a LocalData table and converts it to a DataTable.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `LocalDataName` | `String` | ✅Yes     | Table name  |
| `ColumnNames` | `String` | ❌No      | Columns to select (comma-separated) |
| `Filter`  | `String` | ❌No      | Row filtering criterion |


---

### :arrow_right:**OUTPUT**

| Parameter | Type | **Description** |
|-----------|------|-------------|
| `IsLocalDataToDataTableSuccessful` | `Boolean` | Returns "**True**" if the operation succeeds, "**False**" if it fails. |
| `LocalDataToDataTableMessage` | `String` | Returns the error information received if the operation fails. |
| `LocalDataToDataTableResult` | `DataTable` | Collection data produced by the operation. |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Throw exception on error (default: No) |