MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1053

Components language reference
Table of Contents

Advertisement

The FieldInfo parameter lets you use properties to designate fields that require special
handling. Each item in the collection contains three properties:
Name of a field. This should match a field name in the DataSet component.
FieldName
Optional value used to identify fields not "owned" by the same table defined
OwnerName
in the RDBMSResolver component's TableName parameter. If this property has the same
value as the TableName parameter or is blank, usually the field is included in the XML
update packet. If it has a different value, this field is excluded from the update packet.
Boolean property that you should set to
IsKey
are updated.
The following example shows FieldInfo items that are created to update fields in a customer
table. You must identify the key fields in the customer table. The customer table has a single
key field,
; therefore, you should create a field item with the following values:
id
FieldName = "id"
OwnerName = <--! leave this value blank -->
IsKey = "true"
Also, the
field is added by means of a join in the query. Because this field should be
custType
excluded from the update, you create a field item with the following values:
FieldName = "custType"
OwnerName = "JoinedField"
IsKey = "false"
When the field items are defined, Flash Player can use them to automatically generate the
complete XML, which is used to update a table.
The FieldInfo parameter makes use of a Flash feature called the Collection Editor. When
you select the FieldInfo parameter, you can use the Collection Editor dialog box to add
new FieldInfo items and set their
one location.
,
fieldName
ownerName
Using the RDBMSResolver component (Flash Professional only) 1049
so that all key fields for the table
true
, and
properties from
isKey

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents