# Set Synchronization Status

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-database/set-synchronization-status
>
> Marks records of an offline database table as synchronized or not synchronized, to control which records are sent to the server.

**Set Synchronization Status**

Changes the synchronization status of one or more records of the specified Database Table. By default, Kalipso automatically manages which records should be sent to the server. Use this Action to manually define which records should be sent to the server.

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

* **Table** - Database Table to set the records from.
* **Status** _\<numeric> -_ Status to to set the records.
  * _Synchronized_ - Records included in the **Filter** will not be sent to the server.
  * _Not Synchronized -_ Records included in the **Filter** will be sent to the server.
* **Filter** _\<Kalipso Filter> or \<string> -_ Condition to specify which records should should have their status changed. Check [**Expressions** ](https://doc.sysdevmobile.com/kalipso/6.1/documentation/expressions.md)chapter for more information about Kalipso Filter and String expressions.

## Usage

Consider the following offline Database Table:

| **Products**       |                   |                     |                      |
| ------------------ | ----------------- | ------------------- | -------------------- |
| **Code** _Numeric_ | **Name** _String_ | **Stock** _Numeric_ | **Status**           |
| 1                  | Coca Cola         | 100                 | **Synchronized**     |
| 2                  | Pepsi Cola        | 200                 | **Not Synchronized** |
| 3                  | Pork Chops        | 300                 | **Not Synchronized** |

### **Example 1**

|            |                                   |
| ---------- | --------------------------------- |
| **Table**  | Products                          |
| **Status** | Not Synchronized                  |
| **Filter** | FIELD(Products,Name) LIKE "%Cola" |

_Result:_

| **Products** |            |           |                      |
| ------------ | ---------- | --------- | -------------------- |
| **Code**     | **Name**   | **Stock** | **Status**           |
| 1            | Coca Cola  | 100       | **Not Synchronized** |
| 2            | Pepsi Cola | 200       | **Not Synchronized** |
| 3            | Pork Chops | 300       | **Not Synchronized** |

### **Example 2**

|            |                           |
| ---------- | ------------------------- |
| **Table**  | Products                  |
| **Status** | Synchronized              |
| **Filter** | FIELD(Products,Code) <> 0 |

_Result:_

| **Products** |            |           |                  |
| ------------ | ---------- | --------- | ---------------- |
| **Code**     | **Name**   | **Stock** | **Status**       |
| 1            | Coca Cola  | 100       | **Synchronized** |
| 2            | Pepsi Cola | 200       | **Synchronized** |
| 3            | Pork Chops | 300       | **Synchronized** |

:::info
See [Database ](https://doc.sysdevmobile.com/kalipso/6.1/documentation/environment/project-explorer/database.md)chapter for more information.
:::

:::info
When you specify more than one condition in **Filter** parameter, the operator used between the conditions is "**AND**" or "**OR**".
:::
