MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1052

Components language reference
Table of Contents

Advertisement

Using the RDBMSResolver component
(Flash Professional only)
You use the RDBMSResolver component only when your Flash application contains a
DataSet component and must send an update back to the data source. This component
resolves data that you want to return to a relational database.
RDBMSResolver parameters
You can set the following authoring parameters for each RDBMSResolver instance by using
the Parameters tab of the Component inspector:
TableName
is a string representing the name (in the XML) of the database table to be
updated. This string should match the name of the
updated. If there are no updates to this field, this parameter should be blank, which is the
default value.
UpdateMode
is an enumerator that determines the way key fields are identified when the
XML update packet is generated. Possible values are as follows:
Uses the old values of all of the modified fields to identify the record to be
umUsingAll
updated. This is the safest value to use for updating, because it guarantees that another
user has not modified the record since you retrieved it. However, this approach is time
consuming and generates a larger update packet.
umUsingModified
to be updated. This value guarantees that another user has not modified the same fields in
the record since you retrieved it.
The default value. This setting uses the old value of the key fields. This
umUsingKey
implies an "optimistic concurrency" model, which most database systems today employ,
and guarantees that you are modifying the same record that you retrieved from the
database. Your changes overwrites any other user's changes to the same data.
NullValue
is a string representing a null field value. You can customize this parameter to
prevent it from being confused with an empty string (
value is
.
{_NULL_}
FieldInfo
is a collection representing one or more key fields that uniquely identify the records.
If your data source is a database table, the table should have one or more fields that uniquely
key the records within it. Additionally, some fields may have been calculated or joined from
other tables. Those fields must be identified so that the key fields can be set within the XML
update packet, and so that any fields that should not be updated are omitted from the XML
update packet.
1048
RDBMSResolver component (Flash Professional only)
Uses the old values of all of the fields modified to identify the record
RDBMSResolver.fieldInfo
) or another valid value. The default
""
item to be

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents