OnStart

The OnStart component executes a function before any functions called by the OnValue component execute. If OnStart is a child of the Page component, the function is executed when the Mobile Reach application first starts.

Component Details

Action

Function
(Required). The function executed before the OnValue functions. Click in the detail field, click the arrow that displays, and select a function from the resulting dropdown list.

Context

Context consists of the records that provide the source data and target data for the task executed by a component. The Main record and Secondary record Component Details display the names of the database tables that contain these records.

For the OnStart component, Main record and Secondary record have the same value, which is inherited from the parent component. OnStart does not use this value directly but passes it to its child components. Selecting a function does not affect the value for OnValue but may affect the values of its child components.

Main record
(Readonly). The database table containing the record that provides the target data.
Secondary record
(Readonly). The database table containing the record that provides the source data.

Parent Component

NOTE: For all parent components except Page, the Foreach function must be called by the parent component before the OnStart component becomes an available child.

Child Component

NOTE: Additional child components may become available, depending on the function that is selected.