Set Synchronization Status

Kalipso - Form - Actions - Actions Description - Group Database - 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:

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 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

See Database chapter for more information.

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

Last updated