---
updatedAt: 2025-06-16T23:05:24.000Z
agentTools:
  projectIndex: https://developers.directscale.com/llms.txt
---

# Visual Editor

Under the **Visual** tab, the Table List sidebar is a scrolling list of every editable table in the Database.

### Searching for a Table

You can filter this list by using the Search Bar to find the table you wish to edit.

### Viewing Table Schema

View the **Table Schema** by clicking the ![schema](https://lxteam.blob.core.windows.net/images/Guides/Company%20Setup/Part%206%20Using%20the%20Data%20Editor/schema-icon.png) icon.

***

***

# Viewing a Table

1. Click the **Table Name** link to view the table.

   Selecting a **Table Name** is effectively running the SQL statement `SELECT * FROM [schema].[tablename]`.

***

***

# Filtering Data

Filter the data by comparing the values in the selected columns.

To filter the data:

1. Click the **Filters** button.

   ![](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/filters%20button.png)
2. Under the **Filters** section, select a **Column** name
3. Select a comparison **Operator**

   | Operator           | Description                                                     |
   | :----------------- | :-------------------------------------------------------------- |
   | `=`                | Equal to...                                                     |
   | `<`                | Less than...                                                    |
   | `<=`               | Less than or equal to...                                        |
   | `>`                | Greater than...                                                 |
   | `>=`               | Greater than or equal to...                                     |
   | `!=`               | Not equal to...                                                 |
   | `CONTAINS`         | Has a word or phrase, a prefix of, near another word.           |
   | `DOES NOT CONTAIN` | Does not have a word or phrase, a prefix of, near another word. |
   | `IN`               | Specify multiple values.                                        |
   | `NOT IN`           | Exclude multiple values.                                        |
4. Enter a **Value** to compare

   * Separate values with a comma (,) and no spaces.
   * Quotation marks ("") aren't necessary for strings.
5. Click the **Get Data** button

The table will filter to the chosen criteria.

***

## Adding More Filters

To add multiple filters to create more complex queries:

1. Clicking the **Add Filter** button.

   ![Add Filter button](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/add%20filter%20button.png)

   Another filter section will generate, allowing you to select your criteria.

   ![Added filter sections](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/added%20filter.png)

2. Click the ![X](https://lxteam.blob.core.windows.net/images/Guides/Company%20Setup/Part%206%20Using%20the%20Data%20Editor/x-icon-filter.png) icon to remove the filter logic.

***

***

# Sorting Data

Sort the data by the select column and direction (Ascending or Descending).

1. Click the **Filters** button.

   ![](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/filters%20button.png)
2. Under the **Sort By** section, select a **Column** name to sort against.
3. Select a **Sort Direction**.

   Choices are:

   * Ascending (A–Z, 1–10)
   * Descending (Z–A, 10–1)
4. Click the **Get Data** button.

The table will sort by the chosen column and direction.

***

## Adding More Sort Columns

To add multiple sort columns:

1. Click the **Add Sort Column** button.

   ![Add Sort Column button](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/add%20sort%20column%20button.png)

   Another **Sort by** section will generate, allowing you to select your column and sorting direction.

   ![Added Sort By sections](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/added%20sort%20by%20columns.png)

2. Click the ![X](https://lxteam.blob.core.windows.net/images/Guides/Company%20Setup/Part%206%20Using%20the%20Data%20Editor/x-icon-filter.png) icon to remove the sort logic.

***

***

# Editing Tables

> ❗Warning
>
> When editing data with the **Data Editor**, you are editing the live Database. [Export the table](docs:exporting-a-table) before making any changes.

To edit a selected table:

1. Click a table record and enter the new data.

   ![Edit data record](https://lxteam.blob.core.windows.net/images/Guides/Company%20Setup/Part%206%20Using%20the%20Data%20Editor/edit-data-field.png)

2. Click the ![check mark](https://lxteam.blob.core.windows.net/images/Guides/Company%20Setup/Part%206%20Using%20the%20Data%20Editor/check-mark.png) icon to accept, or click the ![x](https://lxteam.blob.core.windows.net/images/Guides/Company%20Setup/Part%206%20Using%20the%20Data%20Editor/x-button.png) icon to reject the changes.

> 👍Tip
>
> Click the ![Plus](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/plus%20icon.png) icon to expand the table view, eliminating the need to scroll.

> ⚠Important
>
> Client Custom tables must have a **recordnumber** (int) primary key column and a **last\_modified** (datetime) column to edit.

***

## Batch Editing

If you want to have the same column data in multiple rows, you can use batch editing.

1. Select the checkboxes next to the rows you want to batch edit.

   ![Select multiple rows](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/select%20multiple%20checkboxes.png)

> ❗Warning
>
> The **Select All** checkbox will select every row in the table.

2. Click the **Edit \{#} Row(s)** button.
3. In the **Edit Multiple Rows** panel, click the **Value** or ![edit](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/edit%20icon.png) icon to enter your new data.

   ![Edit Multiple Rows panel](https://lxteam.blob.core.windows.net/images/DevSite/DataEditor/edit%20multiple%20rows.png)
4. Click the **Save \{#} Row(s)** button.

***

***

# Adding a New Row

To add a row, click **+ New Row** and enter your data in the fields.

***

***

# Deleting a Row

To delete a row:

1. Select the checkbox next to the rows you want to delete.
2. Click the **Delete \{#} Row(s)** button.

***

## Batch Deleting

If you want to delete multiple rows, you can do so with batch deleting.

1. Select the checkboxes next to the rows you want to batch delete.

> ❗Warning
>
> The **Select All** checkbox will select every row in the table.

2. Click the **Delete \{#} Row(s)** button.

***

***

# Refresh the Cache

Request Customer Care refresh the cache after editing data in the following tables:

* ActiveCountries
* Address
* Countries
* CountryLanguages
* CRM\_AssociateStatuses
* CRM\_AssociateTypes
* CRM\_BinaryTree
* CRM\_CommissionPeriods
* CRM\_Distributors
* CRM\_EnrollTree
* CRM\_MatrixTree
* CRM\_Ranks
* CRM\_UnilevelTree
* CRM\_WebAlias
* CRM\_Websites
* Currency
* IN&#x56;*\* (anything starting with INV*)
* Languages
* ORD\_ShippingMethods
* ORD\_ShippingMethods\_Regions
* ORD\_ShippingMethods\_Stores
* PasswordRequirements
* RegionLocale
* Regions
* Rights
* RoleRightMap
* Roles
* States
* TreeConfigurations
* Users