Configuring Field Associations; Name; Point; Field - Omron CX-Supervisor User Manual

Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Configuring Field Associations

Note:
12-4
Configuring Field Associations

12-4-1 Name

12-4-2 Point

12-4-3 Field

12-4-4 Field Property

Optimistic
Locked only when the Update() method is called, therefore
changes can be made to records without creating a lock,
conflicts have to be catered for because someone else might
have changed the record between the time you started editing
and the time you called Update().
If the Connection is open when a Recordset is added the Combo boxes for
'Table Name' and 'Server Query' will be automatically populated with valid
entries for the selected Database. When the 'Add Recordset...' dialog box is
closed an attempt will be made to open the newly configured Recordset.
Field associations provide a means of connecting CX-Supervisor Points with
fields (i.e. columns of data) in a Recordset, thus enabling data transfers to be
made between Points and Records. By creating a Field Association for each
field in a record, data can easily be read from a record in the database to its
associated points, and written from the points to the current record in the
database. When a Recordset has been added to a Connection in the
Workspace, the right menu option 'Add Field...' will be enabled. Selecting this
option will invoke the following dialog box:
A unique Field name will be automatically provided. This can be modified to
provide a more meaningful name if required.
The name of the point that will be used in data transfers. The Browse button
may be used to select a current point, or add a new one.
The name of the Recordset field to be associated with the above point. If the
Recordset is open, this list will automatically show all available fields.
The type of information from the field to be transferred, the following options
are available:
Value
default - the assigned value of the field
Name
the name of the field / column title
Type
the fields Data Type
SECTION 12 Databases
189

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents