Skip to main content
Version: 6.1

Set Synchronization Status

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

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 chapter for more information about Kalipso Filter and String expressions.

Usage​

Consider the following offline Database Table:

Products
Code NumericName StringStock NumericStatus
1Coca Cola100Synchronized
2Pepsi Cola200Not Synchronized
3Pork Chops300Not Synchronized

Example 1​

TableProducts
StatusNot Synchronized
FilterFIELD(Products,Name) LIKE "%Cola"

Result:

Products
CodeNameStockStatus
1Coca Cola100Not Synchronized
2Pepsi Cola200Not Synchronized
3Pork Chops300Not Synchronized

Example 2​

TableProducts
StatusSynchronized
FilterFIELD(Products,Code) <> 0

Result:

Products
CodeNameStockStatus
1Coca Cola100Synchronized
2Pepsi Cola200Synchronized
3Pork Chops300Synchronized
info

See Database 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".