MACROMEDIA FLASH 8-USING FLASH Use Manual page 451

Using flash
Table of Contents

Advertisement

The following example shows a sample RDBMSResolver component results packet (with
both update results and change information nodes):
<results_packet nullValue="{_NULL_}" transID="46386292065:Wed Jun 25
15:52:34 GMT-0700 2003">
<operation op="delete" id="11295627479" msg="The record could not be
found"/>
<delete>
<field name="id" oldValue="1000" key="true" />
</delete>
<insert>
<field name="id" newValue="20"/>
<field name="firstName" newValue="Davey"/>
<field name="lastName" newValue="Jones"/>
</insert>
<operation op="update" id="02938027477" msg="Couldn't update
employee.">
<field name="id" curValue="105" msg="Invalid field value" />
</operation>
<update>
<field name="id" oldValue="30" newValue="30" key="true" />
<field name="firstName" oldValue="Peter" newValue="Mickey"/>
<field name="lastName" oldValue="Tork" newValue="Dolenz"/>
</update>
</results_packet>
The results packet contains four types of nodes:
Operation
nodes contain the result of operations from the update packet. Each operation
node should have the following attributes/child nodes:
The
attribute describes the type of operation that was attempted. Must be insert,
op
delete, or update.
The
attribute holds the ID from the operation node that was sent out
id
The optional
msg
occurred when attempting the operation
Zero, one, or more
node, at a minimum, should have a
attribute that gives the field-level message. It can also optionally contain a
attribute that holds the most current value for that field in that row on the server.
attribute contains a message string that describes the problem that
child nodes give field-level specific information. Each
field
name
attribute that contains the field name, and a
Advanced topics in data integration
field
msg
curValue
451

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents